Maximize Data as Dialog Maximized

Maximize Data as Dialog Maximized

Postby Ehab Samir Aziz » 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
Ehab Samir Aziz
 
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 41482
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby James Bott » Fri Dec 09, 2005 5: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 10 guests

cron