From: Itamar M. L. J. L. <ita...@gm...> - 2019-01-02 15:38:39
|
Hi! I, not found browse FILTER flag on guilib.ch. #xcommand @ <x>,<y> BROWSE [ <oBrw> ] ; [ <lArr: ARRAY> ] ; [ <lDb: DATABASE> ] ; [ OF <oWnd> ] ; [ ID <nId> ] ; [ SIZE <width>, <height> ] ; [ ON INIT <bInit> ] ; [ ON SIZE <bSize> ] ; [ ON PAINT <bDraw> ] ; [ ON CLICK <bEnter> ] ; [ ON RIGHTCLICK <bRClick> ]; [ ON GETFOCUS <bGfocus> ] ; [ ON LOSTFOCUS <bLfocus> ] ; [ STYLE <nStyle> ] ; [ <lNoVScr: NO VSCROLL> ] ; [ <lNoBord: NOBORDER> ] ; [ FONT <oFont> ] ; [ <lAppend: APPEND> ] ; [ <lAutoedit: AUTOEDIT> ] ; [ ON UPDATE <bUpdate> ] ; [ ON KEYDOWN <bKeyDown> ] ; [ ON POSCHANGE <bPosChg> ] ; [ <lMulti: MULTISELECT> ] ; => ; [<oBrw> :=] HBrowse():New( Iif(<.lDb.>,BRW_DATABASE,Iif(<.lArr.>,BRW_ARRAY,0)),; <oWnd>,<nId>,<nStyle>,<x>,<y>,<width>,<height>,<oFont>,<bInit>,<bSize>, ; <bDraw>,<bEnter>,<bGfocus>,<bLfocus>,<.lNoVScr.>,<.lNoBord.>, <.lAppend.>,; <.lAutoedit.>, <bUpdate>, <bKeyDown>, <bPosChg>, <.lMulti.>, <bRClick> ); [; hwg_SetCtrlName( <oBrw>,<(oBrw)> )] You change Hwgui code in 2016... >2016-08-30 11:35 UTC+0300 Alexander Kresin <al...@be...> > * source/winapi/hbrowse.prg > + source/winapi/hbrwflt.prg > * All code, related to filtering, moved from HBrowse to a new subclass HBrwFlt > * include/guilib.ch > * New command added @ ... BROWSE ... FILTER for HBrwFlt > So, if you use those WHILE, FIRST, LAST, FOR clauses of BROWSE ... >DATABASE > command, use BROWSE ... FILTER instead. > * makefile* > * makefiles updated for a new source file hbrwflt.prg But,I believe no one has tested this change. Best regards, Itamar M. Lins Jr. |