PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: xstreur on January 27, 2017, 09:24:58 AM

Title: Change Caption of a Form
Post by: xstreur on January 27, 2017, 09:24:58 AM
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.
Title: Re: Change Caption of a Form
Post by: Paul Squires on January 27, 2017, 12:26:50 PM
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" )