Hello Med.

Ha, ok, I see now, indeed with your fix the demo has more sense!

Many thanks for this, it was commited just now:
https://github.com/mse-org/mseuniverse/commit/4ffdfd4d4276b5615dbde5b41f70ff7e9181d1f6

Fre;D

________________________________
De : mohamed hamza <medh...@hotmail.com>
Envoyé : jeudi 17 août 2023 17:28
À : General list for MSEide+MSEgui <mseide-msegui-talk@lists.sourceforge.net>
Objet : Re: [MSEide-MSEgui-talk] PopUP form

Re-Hello Fred,

The original Prj is at
mseuniverse/samples/forms/popupform at main · mse-org/mseuniverse · 
GitHub<https://github.com/mse-org/mseuniverse/tree/main/samples/forms/popupform>

I send you a copy of modified popup.pas see Attn

Med





________________________________
De : Fred vS <fi...@hotmail.com>
Envoyé : jeudi 17 août 2023 14:29
À : General list for MSEide+MSEgui <mseide-msegui-talk@lists.sourceforge.net>
Objet : Re: [MSEide-MSEgui-talk] PopUP form

Hello Med.

Ha, so you have a solution, nice. 😉
Sadly, I did not catch where to apply the fix, is it in the demo or in msegui 
code?

Could it be possible for you to do a pull request (or give more details, where 
to change the code, what unit of mseuniverse or msegui).

Many thanks.

Fre;D

________________________________
De : mohamed hamza <medh...@hotmail.com>
Envoyé : jeudi 17 août 2023 14:17
À : General list for MSEide+MSEgui <mseide-msegui-talk@lists.sourceforge.net>
Objet : Re: [MSEide-MSEgui-talk] PopUP form

Hello Fred,

  It's not a matter of intelligence.

In popup Unit

Initialize a Var  as twidget.   ( wResult )

Add wResult :=twidget(atransientfor);                    In constructor 
tpopupfo.create
Add tstringedit(wResult).text:=tstringedit1.text;   In procedure 
tpopupfo.dataenteredev  before release.

In this way the Popup window returns a value.

I am sure you could do it without any problem.

If you have an improvement, let me know.

Thank you, Med.


________________________________
De : Fred vS <fi...@hotmail.com>
Envoyé : mercredi 16 août 2023 18:15
À : General list for MSEide+MSEgui <mseide-msegui-talk@lists.sourceforge.net>
Objet : Re: [MSEide-MSEgui-talk] PopUP form

Hello Med.

Huh, I am sorry but I dont catch that demo popupForm.

There are lot of commented code but I really dont understand the goal of the 
demo.

Maybe somebody more clever than me get it ( but imho, not the best demo I ever 
seen).

Fre;D
________________________________
De : mohamed hamza <medh...@hotmail.com>
Envoyé : mercredi 16 août 2023 19:49
À : General list for MSEide+MSEgui <mseide-msegui-talk@lists.sourceforge.net>
Objet : [MSEide-MSEgui-talk] PopUP form

Hello All,


In the example of PopUpForm  ( MseUniverse/sample/forms ) ,

the popupfo.tstringedit1.value is not returned to tstringedit? in the main Form


I checked all options of widget.

What do we have to enable to get the result expected?


Regards.


Med

_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to