All inclusive sample

Started by GilNelson, February 07, 2008, 01:22:22 PM

Previous topic - Next topic

GilNelson

Hi,

I've owned Firefly for awhile coming from VB.  I still do my work in VB but work with Firefly when I get a chance.  A sample application showing all the basic functions would be great.  Now I'm trying to work with the listbox and I've been able to put data in but have not yet figured out how to get data out.  I'm sure it's not that hard once you have a handle on it but for now I'm having problems.  Do you have such a sample application that uses all the controls and does a variety of tasks on each control. 

As they say a picture is worth a 1000 words and a good sample application is worth  a whole lot of hours. 

Thanks,
Gil

TechSupport

Hi Gil,

You should take a look at the FF_FUNCTIONS.CHM help file. It contains a fair number of pre-built functions to help you with various controls. It is not all encompassing but it does handle a fair number of common tasks.

Oh, by the way, here is how to retrieve the listbox text:


' Get the third listbox item (Listbox indexes are 0 based)
sTest = FF_ListBox_GetText( HWND_FORM1_LIST1, 2 )



Barry Marks

I agree that such a sample program would be very useful.  I'm trying out various controls and having a very hard time understanding what is what.  The information in the help file seems good but I don't have enough context to know what I'm looking for yet.  I don't even know what questions to ask.

A simple all inclusive example would be a big help.

Also a getting started tutorial that covers simple usage of a bunch of the common controls would be helpful.

Barry