HomeProductsDownloadOrderSupportSearch
  
Myriad Forum « [DEV] dialog.NewEditText or other items »
 Welcome, Guest.
 You can read all messages, but to be able to post,
 please Login or Register.
Apr 19th, 2024, 11:17am 
   Myriad Forum
   MyrScript Language
(Moderator: Forum Administrator)
   [DEV] dialog.NewEditText or other items
« Previous topic | Next topic »
Pages: 1  Reply | Notify of replies | Print
   Author  Topic: [DEV] dialog.NewEditText or other items  (Read 275 times)
Sylvain Machefert
Administrator
*****






   
WWW |

Gender: male
Posts: 7090
[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: male
Posts: 2881
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: male
Posts: 7090
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: male
Posts: 2881
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)
Pages: 1  Reply | Notify of replies | Print

« Previous topic | Next topic »

« Myriad Forum » Powered by YaBB 1 Gold - SP 1.1!
YaBB © 2000-2002,
Xnull. All Rights Reserved.

Top of page
Legal information Cookies Last update:  (c) Myriad