11-14-2010 11:30 AM
I am newbie in Labwindows. and working on examples in labwindows . To make table i did not find how to mention the title of the cells. Could you anyone help me out.
Another question is making menubar, how to add menu item. I tried to check with examples but i could not find where it has written and neither in user manual.
Thank you for your help
11-14-2010 04:45 PM
Tables can either be customized within the UIR editor (the function which enables you to graphically design the user interface) or programmatically at runtime; in the second case you can use SetTableColumnAttribute to set column labels with attribute ATTR_LABEL_TEXT.
With regards to the second question, programmatically adding menu items can be done with NewMenuItem.
In my opinion, nevertheless, since you are a newbie you should first learn how to graphically design and realize a good user interface using the UIR editor. You should particularly go into the tutorials which show you how to develop a graphical user interface.
11-15-2010 02:58 AM
Hi Roberto,
Thank you for your valuable reply. Could you please telll me how in UIR not programmatically at runtime can do those. As i tried in manual i could not find it.
Best regards
11-15-2010 05:41 AM
Column titles are set this way:
Menus are created via Edit >> Menu Bars... menu item: in the panel press Create... button: you will see a panel where you can create your own menu bar. Use the help button on the panel to have some explanation on the various options available. The best thing is that you experiment with the buttons on that panel: while you are doing it the menu bar is continuously updated in the box in the lower end of the panel so you can have a feedback for all actions.
11-15-2010 11:32 PM
Thank you Roberto.
Regards