Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What is the last letter in the word "SlickEdit":
How many LETTERS are in the following? "a1b2c3":
Which number is missing?  "12345689":

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: jporkkahtc
« on: November 22, 2016, 10:37:35 PM »


I'm trying to figure out how Slick dialogs work, but I'm getting really confused here.


I created a dialog with 3 check boxes.
I created lbutton_up() handlers for each.


Then I created another, and copied those check boxes from the first into the 2nd.
When I double-click a checkbox in the 2nd it gives a 3 choice dialog: Inherit, Goto inherited code, Don't inherit code.


When I select Inherit, it inserts this code:


    defeventtab JoesRegEx2.ctlcheck3 _inherit JoesRegEx.ctlcheck3;
    void ctlcheck3.lbutton_up()
    {


    }




But this has the effect of overriding the check3 functionality from the first dialog.
It shouldn't insert the function here.




Also, where is the state kept track of?
In trying to repro for writing this I deleted the above code, then in that 3-choice dialog "Inherit" was disabled - I couldn't get it back to how it was originally. So, I deleted check3 from the 2nd dialog and copied it in again.