Change Caption of a Form

Started by xstreur, January 27, 2017, 09:24:58 AM

Previous topic - Next topic

xstreur

Just started with FF and FBC.... :)
During the load of a form (FOR M1_WM_CREATE), under some condition, I would like to change the caption of this form.
Can somebody help me with the command I should use.
Thanks in advance.
Cheers
Frans (X.I.E.M.) Streur
--------------------------------------------
Windows 7 SP1
Freebasic 1.05
FireFly 3.78

Paul Squires

You can use the FF_CONTROL_SETTEXT function to change the caption of a Form.

eg.
FF_CONTROL_SETTEXT( HWND_M1, "This is the new caption text" )
Paul Squires
PlanetSquires Software