FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Design test ( modified)
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Design test ( modified)
Posted: Tue Aug 08, 2017 04:24 PM
Dear Friends,

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



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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 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
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Design test ( modified)
Posted: Tue Aug 08, 2017 05: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 March-April 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
Posts: 1276
Joined: Tue Dec 28, 2010 01:29 PM
Re: Design test ( modified)
Posted: Mon Jul 15, 2019 07: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 25.12

Harbour/Hbmk2

Microsoft Visual C++

MySql 8.0

Antigravity

Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Design test ( modified)
Posted: Mon Jul 15, 2019 08: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 March-April 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

Continue the discussion