About Store Forum Documentation Contact



Post Reply 
List In GUI
Author Message
ronghester Offline
Member

Post: #1
List In GUI
Hi,

How to draw a list in LDM_RECTS mode?
When I create the list like this,
Code:
list.create(list_column, Elms(list_column)).setData(data);

I get a list in LDM_LIST mode, but when i try to switch the draw mode, it does not affect the list.

Code:
(&list)->draw_mode = LDM_RECTS;

Please suggest how this can be accomplished.
08-30-2013 10:27 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: List In GUI
Hi!

Please set the draw_mode after 'create' but before 'setData', for next release, I'll change 'draw_mode' into a method, that will automatically refresh the List.

Thanks!
09-02-2013 07:15 AM
Find all posts by this user Quote this message in a reply
ronghester Offline
Member

Post: #3
RE: List In GUI
Thank you esenthel!

That fixed the problem.
09-06-2013 05:22 PM
Find all posts by this user Quote this message in a reply
Post Reply