I'm having trouble using the interaction and custom code integration with appwizard. I would like to set the text in a textbox on startup to a custom string (ie. a serial number, only present at runtime).
for this task, I was thinking to add a text box on the screen, add a APPW_NOTIFICATION_CREATE signal sent by the parent screen. there I can have either two options: NULL receiver to execute the user defined code, or the SN text box as a receiver with SET_TEXT as a job, but in neither of those case, the corresponding slot routine is called. the only way to call it is to add a call to APPW_SendNotification in the screen callback in case of WM_INIT_DIALOG, but i dont think that's how it was intended?
Maybe you have some ideas on wherre is my misunderstanding. other interactions (ie. button click to swap screen) works fine, and i can update the text on button click aswell.
I also cannot find how to set the text of *this* textbox from code, since the EmWin functions seems to be one layer of abstraction below AppWisard exec
Best regards, i hope you can help me,
Alexis Marquet
for this task, I was thinking to add a text box on the screen, add a APPW_NOTIFICATION_CREATE signal sent by the parent screen. there I can have either two options: NULL receiver to execute the user defined code, or the SN text box as a receiver with SET_TEXT as a job, but in neither of those case, the corresponding slot routine is called. the only way to call it is to add a call to APPW_SendNotification in the screen callback in case of WM_INIT_DIALOG, but i dont think that's how it was intended?
Maybe you have some ideas on wherre is my misunderstanding. other interactions (ie. button click to swap screen) works fine, and i can update the text on button click aswell.
I also cannot find how to set the text of *this* textbox from code, since the EmWin functions seems to be one layer of abstraction below AppWisard exec
Best regards, i hope you can help me,
Alexis Marquet