DC Designer
DC Designer
This is a great tool to design and move objects on the screen
You just need to add this line before you build the dialog
// Install global handler.
DC_ReadGuiHandler({|a,b,c,d,e,f|DC_DesignHandler(a,b,c,d,e,f)})
and this in the DCGETOPTIONS ;
SOURCEFILE "c:\xbprog\rbawin\prog\new_support.prg" ;
When you run the program and hit the ALT=F1 key, instructions appear on how to move and resize objects, when the designer is closed it updates the source code.
It saved me a lot of time designing a busy dialog.
Steve Poore
RBA
You just need to add this line before you build the dialog
// Install global handler.
DC_ReadGuiHandler({|a,b,c,d,e,f|DC_DesignHandler(a,b,c,d,e,f)})
and this in the DCGETOPTIONS ;
SOURCEFILE "c:\xbprog\rbawin\prog\new_support.prg" ;
When you run the program and hit the ALT=F1 key, instructions appear on how to move and resize objects, when the designer is closed it updates the source code.
It saved me a lot of time designing a busy dialog.
Steve Poore
RBA
Re: DC Designer
This is a feature that has been in eXpress++ for several years, but I think I made the last improvements in build 249. I resisted writing this because I did not want to support it or document it, but a customer (Bobby Drakos) pushed me real hard to write this for him. He uses it regularly and demonstrated how valuable it is to him at the eXpress++ Devcon in 2008.
I put together a quick demo into a flash file.
Click on the below URL. It will play the demo recording.
http://www.tomliehr.de/roger/design1.html
I put together a quick demo into a flash file.
Click on the below URL. It will play the demo recording.
http://www.tomliehr.de/roger/design1.html
The eXpress train is coming - and it has more cars.
-
- Posts: 26
- Joined: Thu Jan 28, 2010 3:23 am
Re: DC Designer
The designer is a great tool, indeed but what tool do you use first to create the basic form ?
The form designer included with Alaska seems awkward to convert into Dc????? standards.
Regards
The form designer included with Alaska seems awkward to convert into Dc????? standards.
Regards
Re: DC Designer
I will not waste any more time trying to create a design tool for Xbase++.
Alaska has been working on one for many years and if they ever finish it, I will adapt it to write eXpress++ code.
The entire idea behind eXpress++ is that the programmer can create applications faster in code than they can with a designer.
Hey Bobby - Do you see now why I didn't want to tell anyone about this? It gets these same old conversations started again.
There is so much more I can provide to the Xbase++ community than wasting time on a designer again.
Alaska has been working on one for many years and if they ever finish it, I will adapt it to write eXpress++ code.
The entire idea behind eXpress++ is that the programmer can create applications faster in code than they can with a designer.
Hey Bobby - Do you see now why I didn't want to tell anyone about this? It gets these same old conversations started again.
There is so much more I can provide to the Xbase++ community than wasting time on a designer again.
The eXpress train is coming - and it has more cars.
Re: DC Designer
Roger,rdonnay wrote: The entire idea behind eXpress++ is that the programmer can create applications faster in code than they can with a designer.
>>>The designer is a great tool, indeed but what tool do you use first to create the basic form ?
So to answer the question that was asked, would someone first create the basic code in express, same as any other dialog, then use the designer to tune it ??
Brian
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises
-
- Posts: 26
- Joined: Thu Jan 28, 2010 3:23 am
Re: DC Designer
I am trying to create a compiler to generate Dcsay/Dcget etc source generated from the Alaska Form designer PRG source . I am confused with the way the coordinates yield a completely different layout. Can anyone help with this issue.
source created with form designer :
oXbp := XbpStatic():new( drawingArea, , {16,336}, {80,288} )
oXbp:caption := "Group"
oXbp:type := XBPSTATIC_TYPE_GROUPBOX
oXbp:create()
oXbp := XbpStatic():new( drawingArea, , {176,576}, {80,32} )
oXbp:caption := "TEST"
oXbp:clipSiblings := .T.
oXbp:create()
oXbp := XbpStatic():new( drawingArea, , {96,544}, {80,80} )
oXbp:caption := "Group"
oXbp:type := XBPSTATIC_TYPE_GROUPBOX
oXbp:create()
compiled into Express
@ 16,336 DCSTATIC TYPE XBPSTATIC_TYPE_RECESSEDBOX SIZE 80,288
@ 176,576 DCSay "TEST" SIZE 80,32
@ 96,544 DCSTATIC TYPE XBPSTATIC_TYPE_RECESSEDBOX SIZE 80,80
Regards
source created with form designer :
oXbp := XbpStatic():new( drawingArea, , {16,336}, {80,288} )
oXbp:caption := "Group"
oXbp:type := XBPSTATIC_TYPE_GROUPBOX
oXbp:create()
oXbp := XbpStatic():new( drawingArea, , {176,576}, {80,32} )
oXbp:caption := "TEST"
oXbp:clipSiblings := .T.
oXbp:create()
oXbp := XbpStatic():new( drawingArea, , {96,544}, {80,80} )
oXbp:caption := "Group"
oXbp:type := XBPSTATIC_TYPE_GROUPBOX
oXbp:create()
compiled into Express
@ 16,336 DCSTATIC TYPE XBPSTATIC_TYPE_RECESSEDBOX SIZE 80,288
@ 176,576 DCSay "TEST" SIZE 80,32
@ 96,544 DCSTATIC TYPE XBPSTATIC_TYPE_RECESSEDBOX SIZE 80,80
Regards
Re: DC Designer
The designer use pixel coordinates, that mean you must use the PIXEL clause for all dc* commands.
Klaus
-
- Posts: 26
- Joined: Thu Jan 28, 2010 3:23 am
Re: DC Designer
Hi,
I did use the pixel clause, of course. Is there an origin I should set in express in order to match the same x,y origine XPFDD ?
==========================================================================================================
Regards
I did use the pixel clause, of course. Is there an origin I should set in express in order to match the same x,y origine XPFDD ?
==========================================================================================================
Regards