PlanetSquires Forums

Support Forums => General Board => Topic started by: Dale Moseley Jr on October 10, 2011, 09:49:59 PM

Title: Need programming example
Post by: Dale Moseley Jr on October 10, 2011, 09:49:59 PM
How would you get the instruction:
print "Hello World"
to display in a FireFly project?
Title: Re: Need programming example
Post by: Robert Eaton on October 11, 2011, 11:16:41 AM
A number of ways to do that.
One way is to add a label to a form and set the text with the built in FF function:

FF_Control_SetText( HWND_FORM1_LABEL1, "Hello World" )

You can put that in the WM_Create message (double click on your main form to go to that).

Also:
    Click the functions library tab at the bottom of the editor to get the list of Firefly functions.
    In the editor hit F4 to get a list of control handles in your project (ex: HWND_FORM1_LABEL1 )