A question => New command: XBROWSER (FWH 8.08 )

A question => New command: XBROWSER (FWH 8.08 )

Postby ukoenig » Sat Sep 27, 2008 12:44 pm

Hello,

In FWH 8.08 there is a new command XBROWSER.
Because of hight screen-resolution, i want to change the font.
I couln't find a sample/option for that ( maybe with SETUP ??? ).
In the < readme > there was no solution for it.

Syntax:
XBROWSER [ <cAlias>/<oDbf>/<oRs>/<aArray> ] ; // defaults to active alias
[ TITLE <cTitle> ] ;
[ AUTOSORT ] ; // default false
[ SETUP <fnSetUp(oBrw)> ] ; // optional function for user specified setup
[ COLUMNS <listof columns> ] ; // optionally specify columns to be shown
[ SELECT <fnSelect(oBrw,oCol)> ] // optional function for pick lists

Is it possible to define a Font ?

Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Postby nageswaragunupudi » Sun Sep 28, 2008 10:05 am

Basic purpose of XBROWSER command, which gets translated into XBrowse( ... ) function is to "very quickly" show a browse with oneline code. If we want to use all power features of xbrowse, we better go the normal way

Stilll we can set many parameters with the setuo clause.

Examples:
-----------
1) Use customer
XBROWSER
-----------
2) XBROWSER aArray
-----------
3) XBROWSER oRs
------------
In all the above examples, we do not need to construct a dialog, define xbrowse and define columns

We can also setup some paramters of obrw like this

XBROWSER 'CUSTOMER' SETUP oBrw:bClrStd := { ..... }

SETUP CLAUSE can call a functionlike

SETUP MySetUp( oBrw ) and we can configure anything in this function.

I use this and this is very powerful and very simple and easy to use.
But if we want to use all features, better we define our own window/dialog and browse and program the normal way
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10624
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Font for xBrowse command

Postby ukoenig » Sun Sep 28, 2008 12:11 pm

NageswaraRao, G.

Thank you very much for the informations,

for a quick preview, the command saves some time.
I noticed, that automaticly the font is used, defined in the dialog
from where the browser is shown.

Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 80 guests