[WM20 (android)] Bug in dialog function

Startbeitrag von ccc2 am 23.07.2015 08:32

I have a dialog function in local procedure in window1 .

using window1 create a copy window2 using "save as" .

I make change the local procedure name in window2 . i also change the text of the dialog function

-window1-
SWITCH Dialog("Comfirm Remove Sick Date ( %1 ) ", DateToString(Arg_sdate,"Dddd, DD Mmm YYYY"))

-window2-
SWITCH Dialog("Comfirm Remove Leave Date ( %1 ) ", DateToString(Arg_sdate,"Dddd, DD Mmm YYYY"))


after save the window2 , I open window1 , i notice the dialog text in window1 has auto change to dialog text in window2 .
i make change dialog in window1 and save then i open window2 and notice that the text dialog auto change to dialog text in window1

conclusion.
some how WM has think dialog in window1 and window2 is same. the rest of the local procedure code in both windows are not effected.


even though it is a BUGs, but it will be a cool function to implement in procedure level , for example :
I have same a same local procedure in win1, win2, win3 . I can't declare as global procedure due to in code i call controls which exist in win1, win2, win3 .

with this , i only need to change code in win1 and wind2, win3 will auto updated



eve

Antworten:

Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.