FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for CA-Clipper Maximize Data as Dialog Maximized
Posts: 334
Joined: Fri Oct 14, 2005 01:54 PM

Maximize Data as Dialog Maximized

Posted: Thu Dec 08, 2005 10:55 PM

I need to expand the data fields when I Maximized the data in that routine :

function ClientsBrowse()

local oDlg, oDbf, oBrw

USE CUST
DATABASE oDbf

DEFINE DIALOG oDlg RESOURCE "Browse"

REDEFINE LISTBOX oBrw ;
FIELDS oDbf:cu_acct,oDbf:cu_Name,oDbf:cu_Addr,oDbf:cu_PHON , oDbf:cu_FAX , oDbf:cu_MAN , oDbf:cu_MOBI , oDbf:cu_APPR;
HEADERS "Account_no","Name","Address","Phone","Fax","Man","Mobile","Appreviation" ;
SIZES 250, 300, 300, 300, 300, 300, 300 ;
ID 110 OF oDlg

oBrw:bSkip = { | nRecs | oDbf:Skipper( nRecs ) }

ACTIVATE DIALOG oDlg CENTERED

return nil

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Maximize Data as Dialog Maximized

Posted: Fri Dec 09, 2005 12:10 AM

Ehab,

Do you mean that you maximize the dialogbox and you want the browse to resize also ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM

Maximize Data as Dialog Maximized

Posted: Fri Dec 09, 2005 05:47 PM

I don't know if this will work but try:

oDlg:oClient := oBrw

This is how you do it with a window.

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion