Need programming example

Started by Dale Moseley Jr, October 10, 2011, 09:49:59 PM

Previous topic - Next topic

Dale Moseley Jr

How would you get the instruction:
print "Hello World"
to display in a FireFly project?

Robert Eaton

#1
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 )