Author |
Topic: [DEV] dialog.NewEditText or other items (Read 276 times) |
|
Sylvain Machefert
Administrator
WWW |
Gender:
Posts: 7091
|
|
[DEV] dialog.NewEditText or other items
« on: Jul 25th, 2022, 12:14am » |
Quote | Modify
|
Hello, In a empty floatting window, how do you manage to create a new item on the fly in your dialog? I tried in Init, Idle, on click on a button, and I still get a message saying that's not the right moment to create a new item. The manual says after dialog init, and before the first Dialog.Select(...) call. Thanks in advance for your help!
|
|
offline |
HA+HQ+VS+PdfToM, Reaper+Audiveris+Transcribe, Win10+Focusrite Scarlet 4i4+Nord Electro 3 Linktree: VS languages, my scripts, my bands, my performances...
|
|
|
ANdre_B
Board Master
Email
Gender:
Posts: 2883
|
|
Re: [DEV] dialog.NewEditText or other items Exemple.zip
« Reply #1 on: Jul 25th, 2022, 3:30pm » |
Quote | Modify
|
Sylvain, voici un extrait d'un .myf que j'utilise, sans le corps du traitement final. Il y a un appel à un fichier, dont des données exemple sont en commentaire.
|
|
offline |
André Baeck, de retour en Belgique après 12 ans passés dans le Gard. Windows 11, HA 997e (et précédents)
|
|
|
Sylvain Machefert
Administrator
WWW |
Gender:
Posts: 7091
|
|
Re: [DEV] dialog.NewEditText or other items
« Reply #2 on: Jul 25th, 2022, 6:17pm » |
Quote | Modify
|
Merci André, J'ai regardé ton code, je comprends mieux, c'est pour créer un dialog, pas pour ajouter à un dialog déjà ouvert. Tant pis, je vais trouver une autre solution...
|
|
offline |
HA+HQ+VS+PdfToM, Reaper+Audiveris+Transcribe, Win10+Focusrite Scarlet 4i4+Nord Electro 3 Linktree: VS languages, my scripts, my bands, my performances...
|
|
|
ANdre_B
Board Master
Email
Gender:
Posts: 2883
|
|
Re: [DEV] dialog.NewEditText or other items
« Reply #3 on: Jul 25th, 2022, 8:31pm » |
Quote | Modify
|
Dans ce cas, je penserais à créer un nouveau dialogue, à côté ou en dessous du premier - ou pourquoi pas au milieu - avec les valeurs appropriées de dimension. Cela aura l'air d'un complément au dialogue.
|
« Last Edit: Jul 25th, 2022, 8:33pm by ANdre_B » |
offline |
André Baeck, de retour en Belgique après 12 ans passés dans le Gard. Windows 11, HA 997e (et précédents)
|
|
|
|