Design test ( modified)

Design test ( modified)

Postby Silvio.Falconi » Tue Aug 08, 2017 4:24 pm

Dear Friends,

I modify the Design.prg this week.... the sample test of fwh not run ok

Image

I insert other controls, I change Button position and dimensions (on visual) ,

I change all controls position and dimensions (on visual)

I insert Folder control and folderex , on Folder control now you can insert say,get,button, listbox controls inside

I insert also a Controls Creation/Tab Order

Controls add
say
3 type of get ( normal,spinner,Memo)
Button
BtnBmp
CheckBox
ListBox
ComboBox
GroupBox
Folder
FolderEx
Treeview
Radio
Datepick
XBrowse ( not working because the design clausole not work)

I sent to Antonio the source code
Last edited by Silvio.Falconi on Tue Jul 16, 2019 3:52 pm, edited 1 time in total.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7053
Joined: Thu Oct 18, 2012 7:17 pm

Re: Design test ( modified)

Postby Silvio.Falconi » Tue Aug 08, 2017 5:18 pm

there is a problem
when I create the prg and the dialog have a folder then it not create any controls are into the folder

I think we must modify the cGenPrg method of window class

line 1304

if ! Empty( ::aControls )
cPrg += CRLF
AEval( ::aControls, { | oCtrl | cPrg += oCtrl:cGenPRG( lDlgUnits ) } )
endif

I think we must insert something of this :

for n= 1 to Len( ::aControls)
if (::aControls[n]:ClassName() ) $ "TFOLDER;TFOLDEREX"
For k= 1 to Len( ::aControls[n]:aDialogs)
AEval( ::aControls[n]:aDialogs[k], { | oCtrl | cPrg += oCtrl:cGenPRG( lDlgUnits ) } )
next
endif
next

what do you think about ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7053
Joined: Thu Oct 18, 2012 7:17 pm

Re: Design test ( modified)

Postby Compuin » Mon Jul 15, 2019 7:34 pm

Silvio.Falconi wrote:there is a problem
when I create the prg and the dialog have a folder then it not create any controls are into the folder

I think we must modify the cGenPrg method of window class

line 1304

if ! Empty( ::aControls )
cPrg += CRLF
AEval( ::aControls, { | oCtrl | cPrg += oCtrl:cGenPRG( lDlgUnits ) } )
endif

I think we must insert something of this :

for n= 1 to Len( ::aControls)
if (::aControls[n]:ClassName() ) $ "TFOLDER;TFOLDEREX"
For k= 1 to Len( ::aControls[n]:aDialogs)
AEval( ::aControls[n]:aDialogs[k], { | oCtrl | cPrg += oCtrl:cGenPRG( lDlgUnits ) } )
next
endif
next

what do you think about ?


Hello, do you have to share your design.prg changes ?
FWH 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1214
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada

Re: Design test ( modified)

Postby Silvio.Falconi » Mon Jul 15, 2019 8:31 pm

Compuin
I don't remember where I put this source, I probably deleted it, I'm sorry I can't help you
then looking back I didn't make any changes, so find the source on fwh sample

then I wrote "I sent to Antonio the source code"
do you ask to Antonio ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7053
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 89 guests