PowerBASIC Users Meeting Point
Test posting - Printable Version

+- PowerBASIC Users Meeting Point (http://pump.richheimer.de)
+-- Forum: Miscellaneous (http://pump.richheimer.de/forumdisplay.php?fid=11)
+--- Forum: Test forum (http://pump.richheimer.de/forumdisplay.php?fid=13)
+--- Thread: Test posting (/showthread.php?tid=4)

Pages: 1 2


Test posting - Albert Richheimer - 05-14-2024

this is a posting to test the BB codes.

Code:
    gThreadAlive=%TRUE
    thread create ttdsPing(0) to gThread
    SetThreadPriority gThread,%thread_priority_idle

    gMainALoX  = val(GetRegValue(%HKEY_CURRENT_USER,$REGISTRY,$MAINALOX))
    gMainALoY  = val(GetRegValue(%HKEY_CURRENT_USER,$REGISTRY,$MAINALOY))
    gMutaALoX  = val(GetRegValue(%HKEY_CURRENT_USER,$REGISTRY,$MUTAALOX))
    gMutaALoY  = val(GetRegValue(%HKEY_CURRENT_USER,$REGISTRY,$MUTAALOY))


    '  Connect to ttds
    '  ---------------
    '
    gDSConn=trm_Connect(gServerURL,gttdsPort,gttdsData,gttdsUser,gttdsPass,0)
    if gDSConn < 0 then
      gErrorText="Unable to connect user "+gttdsUser+" to database "+ _
                  gttdsData+":"+$cr+"Error "+format$(abs(gDSConn))+" - "+ _
                  trm_ErrorMessage(gDSConn)
      msgbox gErrorText,%mb_iconerror or %mb_taskmodal,$ERR_CAPTION
      exit function
    end if

'  Open ttds files
'  ---------------
'
    gDLDAT = trm_Open(gDSConn,gDLDAT_File,1)
    if gDLDAT < 0 then
      gErrorText="ERR#001 Cannot open "+gDLDAT_File+". Code "+format$(gDLDAT)
      msgbox gErrorText,%mb_iconerror or %mb_taskmodal,$ERR_CAPTION
      goto closedown
    end if
    dim abg(0) as global DLGES at varptr(dld)



Code tags obviously works fine - important for us programmers.


RE: Test posting - Albert Richheimer - 06-10-2024

And another test...

trying attachments - here I am attaching my line printer tool.

Simply pull your file into the attachments box below.


RE: Test posting - Albert Richheimer - 06-10-2024

For images in this test I am using an external provider, in this case picr.de. Just click the image icon in the toolbar above, and enter the URL. 

And one more test, here's an autumn view from our garden:

[Image: 44670809xt.jpg]

Or you can use the usual (img))/img) tags, like here (use square braces):

[Image: 46668514bu.jpg]

Or you can pull the image into the attachment box, and a jpeg will be seen as a clickable thumbnail. Here's a companion on our favourite afternoon walking path.

Cheers,
Albert


RE: Test posting - George Bleck - 06-19-2024



Seems you tube works nice as well.


RE: Test posting - Albert Richheimer - 06-19-2024

(06-19-2024, 05:23 AM)George Bleck Wrote: Seems you tube works nice as well.

Thanks for testing, George! Seems that MyBB is quite a nifty piece of software.  I think that was one of the better picks I have done, besides installing WordPress on an other domain, our repository of cooking recipes, shared with anyone who is interested in.

Cheers,
Albert


RE: Test posting - Pierre Bellisle - 01-27-2025

Albert> Code tags obviously works fine

I was hoping it worked also in code section. Sadly, it dosen't...


RE: Test posting - Albert Richheimer - 01-27-2025

(01-27-2025, 09:15 PM)Pierre Bellisle Wrote: Albert> Code tags obviously works fine

I was hoping it worked also in code section. Sadly, it dosen't...

Hmmm. Actually it should - I will have a deeper look into it tomorrow. Now here it is bed time...

Albert


RE: Test posting - Albert Richheimer - 01-28-2025

(01-27-2025, 09:15 PM)Pierre Bellisle Wrote: Albert> Code tags obviously works fine

I was hoping it worked also in code section. Sadly, it dosen't...

Erm... it does. See your thread Calling opcode string discussion. Or what do you mean by code tags don't work?


RE: Test posting - Pierre Bellisle - 01-28-2025

This is what I mean by ... I was hoping it worked also in code section.


Code:
[b][color=#0000FF]FUNCTION PBMAIN[/color]()

[color=#0000FF]DIALOG NEW[/color] [color=#8000FF]%HWND_DESKTOP[/color] ,[color=#800040]"Center Dialog - Move me"[/color], , , [color=#FF0000]200[/color], [color=#FF0000]150[/color], _
[color=#8000FF]%WS_CAPTION[/color] [color=#0000FF]OR[/color] [color=#8000FF]%WS_MINIMIZEBOX[/color] [color=#0000FF]OR[/color] [color=#8000FF]%WS_MAXIMIZEBOX[/color] [color=#0000FF]OR[/color] [color=#8000FF]%WS_SIZEBOX[/color] [color=#0000FF]OR[/color] [color=#8000FF]%WS_SYSMENU[/color], [color=#8000FF]%WS_EX_LEFT[/color] [color=#0000FF]TO[/color] hDlg
[b][i][color=#008080]'%WS_CAPTION OR %WS_MINIMIZEBOX OR %WS_SYSMENU, %WS_EX_TOPMOST TO hDlg[/color][/i][/b]

[color=#0000FF]CONTROL ADD BUTTON[/color], hDlg, [color=#8000FF]%ButtonMsg[/color], [color=#800040]"MessageBox"[/color], [color=#FF0000]50[/color], [color=#FF0000]60[/color], [color=#FF0000]100[/color], [color=#FF0000]14[/color]

[color=#0000FF]DIALOG SHOW MODAL[/color] hDlg [color=#0000FF]CALL[/color] DlgProc

[color=#0000FF]END FUNCTION[/color][/b]



RE: Test posting - Albert Richheimer - 01-28-2025

Thanks, now I see what you mean. Lack of colouring text inside the code section indeed might be a shortcoming of MyBB.