Hi All,

Can anybody advise on my best approach to implement a 'table' or chart where 
users can select one at a time.

i mean for example imagine a grid of 'buttons' labeled with the letters of the 
alphabet, click on a letter to select it, or a number pad 0 - 9 say.

i thought about handcoding this with an array of buttons as described, and just 
set their relative positions on creation with a nested loop. this is kind of 
how i would have done it in a graphics API, 'tiling' the area.

I wondered if there are any widget classes or more to the point anything i 
could write using fluid to do this.

Maybe just use a draw box function?

I avoided just adding individual buttons set in a tile in fluid as i thought it 
would be a bit unwieldly to add say 26 individual button objects but then 
nobody has to read the code anyhow so...

Basically i can think of a few ways to hancode it, just wondered if anything i 
could whip up with fluid would be available, maybe this is a case where you 
would write a little more code in the dialog boxes of Fluid itself? say for the 
array of objects in a loop, i take it fluid is not an interpreter so i cannot 
expect to be able to see the objects defined this way appear in my design 
editor view..
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to