Thanks Ed and Bob, 

I managed to run the GUI for the primer example  centigrade - fahrenheit. 
Beside the attribute in the set-command identical to the actual primer. 

Cheers, Markus


NB. base form 

CFGUI=: 0 : 0
pc cfgui;
cc s1 static;cn "Centigrade:";
cc cid edit ;
cc s2 static;cn "Fahrenheit:";
cc fid edit;
rem form end;
)

cfgui_run=: 3 : 0
wd CFGUI
NB. initialize form here
wd 'pshow;'
)

cfgui_close=: 3 : 0
wd'pclose'
)

cfgui_cid_button=: 3 : 0
t =. 0 ". cid
t =. fahrenheit t
t =. ": t
wd 'set fid text ', t
)

cfgui_fid_button=: 3 : 0
t =. 0 ". fid
t =. centigrade t
wd 'set cid text ', ": t
)



 

-----Ursprüngliche Nachricht-----
Von: General <[email protected]> Im Auftrag von 'robert 
therriault' via General
Gesendet: Mittwoch, 30. August 2023 17:53
An: General forum <[email protected]>
Betreff: [Extern] Re: [Jgeneral] help on gui

Markus,

You have asked a very timely question. I have been updating the Primer over the 
last month and GUI part 1 is the page that I am currrently working on. Ed's 
suggestion is an excellent one for the time being. I would appreciate any 
feedback that you can give as I update the GUI section over the next couple of 
days. 

Cheers, bob

> On Aug 30, 2023, at 08:36, Schmidt-Gröttrup, Markus 
> <[email protected]> wrote:
> 
> I need help on GUI programming.
> The page https://code.jsoftware.com/wiki/Help/Primer/100_GUI_part_1 
> unfortuneatly is not up to date, I miss the menu item   Edit|Form Editor.
> 
> Any tutorial available in the wiki?
> 
> Thanks for a tip,
> Markus
> 
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to