Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2005
    Posts
    7

    Unanswered: how can i create button controls dynamically in developer 6i

    hello
    i want to create button controls dynamically in developer 6i, can anybody help me
    i wil b very thank ful
    thanx

  2. #2
    Join Date
    Jun 2004
    Location
    Liverpool, NY USA
    Posts
    2,509
    You can't, however you can create many buttons (even at the same canvas location) and hid and disable them until you need them. Then with a simple set_item_property call you can have them appear.

    Hid it...
    set_item_property('MAIN.EXIT',DISPLAYED,PROPERTY_F ALSE);

    Re-enable it...
    set_item_property('MAIN.EXIT',DISPLAYED,PROPERTY_T RUE);
    set_item_property('MAIN.EXIT',ENABLED,PROPERTY_TRU E);
    Bill
    You do not need a parachute to skydive. You only need a parachute to skydive twice.

  3. #3
    Join Date
    Aug 2005
    Posts
    7

    how can i create button controls dynamically in developer 6i

    helo
    first of all thanks my brother,i hav done the same thing you suggest actually problem is that, buttons i have created statically is actually belongs to a database table so if any new record is inserted in the table then i faced a problem so, i want to create a button when user insert a new record in the table

  4. #4
    Join Date
    Jan 2004
    Location
    Croatia, Europe
    Posts
    4,094
    Provided Answers: 4
    i want to create a button when user insert a new record in the table
    May I ask what is your scenario for situation when this table grows up to, let's say, 1000 records? Or even 1.000.000 records? How are you going to display all of them on the screen?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •