X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 20 May 2009 10:22 AM by  anon
saving data into a .pro file during runtime
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
20 May 2009 10:22 AM
    Hi all, I was trying to write a GUI program such that when I enter data into a text box, it should get saved in the droplist and then the next time I open the GUI, the previously entered data should automatically appear in the droplist ( just like it has memory). Is this possible?...if so, could anyone please give me a headstart?...i unable to start on this... any advice will be sincerely appreciated! Thank you. Regards, Rohit Bhat

    Deleted User



    New Member


    Posts:
    New Member


    --
    27 May 2009 11:12 AM
    Hi Rohit, Yes, I know that it is possible if you are able to use the "widget_propertysheet" widget. It works with objects (see example in widget_propertysheet help entry). I suggest you create one (see IDLitcomponent help entry) with a property "type=enumlist". Then, you have to code an event procedure. In it, when the user enter a new value for your "text" field, your have just to code an update of the enumlist property attribute of the object. It seems quite complicated but it is very interesting to know how to slove such a problem. See you. Patrice.
    You are not authorized to post a reply.