Newbie needs windows GUI examples
9 posts
• Page 1 of 1
Newbie needs windows GUI examples
Greetings,
I'm diving into the wonderful world of Windows GUI programming using Dyalog APL (V17).
I have read the 2 PDFs ... and see a few basic examples of line by line GUI form creation and buttons and events...
But I still can not wrap my head around the Windows GUI developer interface.
Is there a document that can give more complete examples ?
Or some APL workspaces with more functional complete examples.
Like a finished FORM with buttons and a working model of the real GUI .. not just line by line examples ?
MY GOAL is to develop a simple CHAT tool that will run on Windows.
Any suggestions for the Newbie ?
Thanks!
I'm diving into the wonderful world of Windows GUI programming using Dyalog APL (V17).
I have read the 2 PDFs ... and see a few basic examples of line by line GUI form creation and buttons and events...
But I still can not wrap my head around the Windows GUI developer interface.
Is there a document that can give more complete examples ?
Or some APL workspaces with more functional complete examples.
Like a finished FORM with buttons and a working model of the real GUI .. not just line by line examples ?
MY GOAL is to develop a simple CHAT tool that will run on Windows.
Any suggestions for the Newbie ?
Thanks!
-
woody - Posts: 148
- Joined: Tue Dec 28, 2010 12:54 am
- Location: Atlanta, Georgia USA
Re: Newbie needs windows GUI examples
Hi Woody,
If you have not seen these already, please try these 2 workspaces. They have good examples of our ⎕WC GUI.
)load wtutor.dws
)load wtutor2.dws
)load lift.dws
This is an example of APL threads illustrated using our ⎕WC GUI.
)load arachnid
This is a card game written in APL.
Regards,
Vince
If you have not seen these already, please try these 2 workspaces. They have good examples of our ⎕WC GUI.
)load wtutor.dws
)load wtutor2.dws
)load lift.dws
This is an example of APL threads illustrated using our ⎕WC GUI.
)load arachnid
This is a card game written in APL.
Regards,
Vince
- Vince|Dyalog
- Posts: 443
- Joined: Wed Oct 01, 2008 9:39 am
Re: Newbie needs windows GUI examples
Vince,
Thanks for the "leg up" with some good references to learn the APL GUI for Windows.
I got my first FORM created ... and I'm getting a hang for the structure of the GUI tools (Objects, Methods, Properties, Events) ...
Here's my 1st program ... that is a start toward building a Chat tool.
Cheers!
//W
Thanks for the "leg up" with some good references to learn the APL GUI for Windows.
I got my first FORM created ... and I'm getting a hang for the structure of the GUI tools (Objects, Methods, Properties, Events) ...
Here's my 1st program ... that is a start toward building a Chat tool.
Cheers!
//W
- Code: Select all
Pasted From Dyalog ∇WOBCO1
[0] WOBCO1
[1] P S←(50 20)(20 60)
[2] PROPS←P S('Style' 'Multi')('VScroll' ¯1)('WantsReturn' 1)
[3] PROPS,←('Style' 'Multi')('Font' 'Arial' 40)
[4]
[5] 'W1'⎕WC'Form' 'WOBCO Test Form'(70 55)(25 40)
[6] 'W1.ED'⎕WC'Edit' '',PROPS
[7] W1.ED.Text←''
[8]
[9] ⍝ IF Form is X closed, then run APL FNS SHOWDISP
[10] ⍝ 'W1' ⎕WS 'Event' 'MouseUp' 'GETTEXT'
[11] 'W1.BUTTON'⎕WC'Button' 'Send'(5 20)(15 35)
[12] W1.BUTTON.Event←'MouseUp' 'GETTEXT'
[13] UP:
[14] R←⎕DQ'W1'
[15] 'Result from ⎕DQ: ',⍕R
[16] →(0=⍴R)/END
[17] DATA←W1.ED.Text
[18] ⍝⍝ W1.ED.Text←''
[19]
[20] →UP
[21] END:
[22] 'Done'
[23] ∇
-
woody - Posts: 148
- Joined: Tue Dec 28, 2010 12:54 am
- Location: Atlanta, Georgia USA
Re: Newbie needs windows GUI examples
You might also like to look at the video of the U15 presentation from the dyalog 18 user meeting. I am attempting to make the windows GUI available on Linux, Mac and over the internet (multi user).
-
MikeHughes - Posts: 86
- Joined: Thu Nov 26, 2009 9:03 am
- Location: Market Harborough, Leicestershire, UK
Re: Newbie needs windows GUI examples
Thanks for the tips !
I also found some great APL Windows GUI documentation in the famous Mastering Dyalog APL document, Chapter P – Graphical User Interface
It would be helpful to have some sort of document or interactive tool that could be searched for a given GUI keyword ... (Searching the Mastering Dyalog APL PDF works well)
I'd like to see a complete list of all Dyalog APL system functions ⎕DQ, ⎕WS, ⎕WC ... etc. - with all GUI-specific options, properties, methods and events.
For example, if a GUI developer needed to know "How to make a GUI object Active" ... this might quickly show a section on using Active and Visible.
Active Specifies whether an object is active (1) or not (0).
Visible Specifies whether an object or a form is visible (1) or not (0).
I'd also like to see a hierarchical list of all GUI properties and options with short description for each.
Much like a Dyalog APL Windows GUI Programmer's Cheat Sheet
Anyway.. we're enjoying building Windows GUI apps with Dyalog APL !
Good stuff !
Thanks again,
//W
I also found some great APL Windows GUI documentation in the famous Mastering Dyalog APL document, Chapter P – Graphical User Interface
It would be helpful to have some sort of document or interactive tool that could be searched for a given GUI keyword ... (Searching the Mastering Dyalog APL PDF works well)
I'd like to see a complete list of all Dyalog APL system functions ⎕DQ, ⎕WS, ⎕WC ... etc. - with all GUI-specific options, properties, methods and events.
For example, if a GUI developer needed to know "How to make a GUI object Active" ... this might quickly show a section on using Active and Visible.
Active Specifies whether an object is active (1) or not (0).
Visible Specifies whether an object or a form is visible (1) or not (0).
- Code: Select all
For example: 'XYZ' ⎕WS ('Visible' 1)('OnTop' 1)
I'd also like to see a hierarchical list of all GUI properties and options with short description for each.
Much like a Dyalog APL Windows GUI Programmer's Cheat Sheet
Anyway.. we're enjoying building Windows GUI apps with Dyalog APL !
Good stuff !
Thanks again,
//W
-
woody - Posts: 148
- Joined: Tue Dec 28, 2010 12:54 am
- Location: Atlanta, Georgia USA
Re: Newbie needs windows GUI examples
UPDATE:
I just discovered
OBJ.PropList
OBJ.MethodList
OBJ.EventList
This really help the "newbie" ...
So, I'm looking for the description of each of these .. how to use them .. format for calling them, examples, etc.
I see several examples here and there .. and in the Master PDF ...
But would like to see a full summary in one place .. much like our Dyalog APL Reference Card .. but for GUI Interface.
Making progress...
Thanks!
//W
I just discovered
OBJ.PropList
OBJ.MethodList
OBJ.EventList
This really help the "newbie" ...
So, I'm looking for the description of each of these .. how to use them .. format for calling them, examples, etc.
I see several examples here and there .. and in the Master PDF ...
But would like to see a full summary in one place .. much like our Dyalog APL Reference Card .. but for GUI Interface.
Making progress...
Thanks!
//W
-
woody - Posts: 148
- Joined: Tue Dec 28, 2010 12:54 am
- Location: Atlanta, Georgia USA
Re: Newbie needs windows GUI examples
There is the dyalog object reference
not obviously windows fyi but everything is listed
not obviously windows fyi but everything is listed
-
MikeHughes - Posts: 86
- Joined: Thu Nov 26, 2009 9:03 am
- Location: Market Harborough, Leicestershire, UK
Re: Newbie needs windows GUI examples
.. also known (at help.dyalog.com anyway ) as the Object Reference.
http://help.dyalog.com/17.0/Content/GUI ... orised.htm
(you might like to turn navigation back on when you've got there .. and one day we'll get to the point where the full URL appears on each page !)
The online help has the merit that for each object (well, almost every object!) there's a link to its Parent, Children, Properties, Methods and Events.
http://help.dyalog.com/17.0/Content/GUI ... orised.htm
(you might like to turn navigation back on when you've got there .. and one day we'll get to the point where the full URL appears on each page !)
The online help has the merit that for each object (well, almost every object!) there's a link to its Parent, Children, Properties, Methods and Events.
-
AndyS|Dyalog - Posts: 263
- Joined: Tue May 12, 2009 6:06 pm
Re: Newbie needs windows GUI examples
Great !!
This is what I was looking for.
Sincere thanks!
//W
This is what I was looking for.
Sincere thanks!
//W
-
woody - Posts: 148
- Joined: Tue Dec 28, 2010 12:54 am
- Location: Atlanta, Georgia USA
9 posts
• Page 1 of 1
Return to Windows: GUI, COM/OLE/ActiveX
Who is online
Users browsing this forum: Google [Bot] and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group