Search found 208 matches: nid

Return to advanced search

... REDEFINE LISTBOX [ <oLbx> VAR ] <cnVar> ; [ ITEMS | PROMPTS <aItems> ] ; [ FILES | FILESPEC <cFileSpec> ] ; [ ID <nId> ] ; [ ON CHANGE <uChange> ] ; [ ON [ LEFT ] DBLCLICK <uLDblClick> ] ; [ OF | WINDOW | DIALOG <oWnd> ] ; [ HELPID | HELP ID ...
by Jeff Barnes
Thu Sep 14, 2006 6:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listbox Help
Replies: 9
Views: 2590

Francis,

MsgInfo( AScan( oDlg:aControls, { | o | o:nID == oGet:nID } ) )
by Antonio Linares
Tue Sep 12, 2006 6:27 am
 
Forum: FiveWin para CA-Clipper
Topic: acontrols
Replies: 2
Views: 780

Reinaldo,

You have to use TTreeView():ReDefine( nId, oWnd, nClrFore, nClrBack, lDesign, cMsg ) instead of TTreeView():New( ... ).

Use SysTreeView32 as the type of the control in your dialog resource.
by Antonio Linares
Sun Sep 10, 2006 6:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ttreeview
Replies: 6
Views: 1340

Riccardo,

> Eval( bAction, Self ) -> Eval( bAction, Self, nID )

Ok, we have also modified it here, though we may finally create a new Class TTBButton and the TBButton object will be supplied instead of nID.
by Antonio Linares
Fri Sep 08, 2006 8:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change text button Toolbar
Replies: 4
Views: 989

Antonio,
thank you, works fine.

I've modify the Method Commad of the TToolBar to have the nId of the buttom when pressed:
Eval( bAction, Self ) -> Eval( bAction, Self, nID )

Bye
Riccardo
by Riccardo
Fri Sep 08, 2006 8:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change text button Toolbar
Replies: 4
Views: 989

DbCombo para ado y mysql

... !short: DBCOMBO */ #xcommand REDEFINE DBCOMBO [ <oCbx> VAR ] <cVar> ; [ <items: ITEMS, PROMPTS> <aItems> ] ; [ ID <nId> ] ; [ <dlg:OF,WINDOW,DIALOG> <oWnd> ] ; [ <help:HELPID, HELP ID> <nHelpId> ] ; [ ON CHANGE <uChange> ] ; [ VALID ...
by fsandoval
Sat Aug 19, 2006 6:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DbCombo para ado y mysql
Replies: 0
Views: 1319

... oButton CLASSDATA lOk Init .F. ERROR HANDLER ERROR() METHOD New() METHOD Activate() METHOD Install() METHOD CheckOCX() ENDCLASS METHOD New( oWnd,nId ) CLASS FRAMESX local cCaption := "" ::CheckOCX() IF !::lOk MsgInfo( "Error to Install OCX Control" ) RETURN SELF ENDIF IF nId != NIL ::oControl ...
by areang
Fri Aug 18, 2006 9:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX VB with xHarbour
Replies: 27
Views: 8310

... oButton CLASSDATA lOk Init .F. ERROR HANDLER ERROR() METHOD New() METHOD Activate() METHOD Install() METHOD CheckOCX() ENDCLASS METHOD New( oWnd,nId ) CLASS FRAMESX ::CheckOCX() IF !::lOk MsgInfo( "Error to Install OCX Control" ) RETURN SELF ENDIF IF nId != NIL ::oControl := TActiveX():Redefine( ...
by areang
Fri Aug 18, 2006 6:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX VB with xHarbour
Replies: 27
Views: 8310

ActiveX VB with xHarbour

... RETURN NIL ENDIF CLASS xButton DATA oControl DATA oButton CLASSDATA lOk Init .F. METHOD New() METHOD Activate() ENDCLASS METHOD New( oWnd, nId ) CLASS xButton IF nId != NIL ::oControl := TActiveX():Redefine( nId, oWnd, "MyOCX.myControl" ) ELSE ::oControl := TActiveX():New( oWnd, "MyOCX.myControl" ...
by areang
Mon Aug 14, 2006 5:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX VB with xHarbour
Replies: 27
Views: 8310

Silvio,

You may use their DATA cargo to store an identifier, or check its position in oWnd:aControls, its nID, etc.
by Antonio Linares
Sun Aug 06, 2006 9:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: BUTTONS ON A WINDOW
Replies: 10
Views: 2135

cTempFile() -> bad alias

... function cNewFileName( cRootName, cExt, cPath ) local cFileName := cRootName + "1" local nId := 1 static cOldName DEFAULT cPath := "" if ! "." $ cExtension .and. .not. empty( cExtension ) cExtension = "." + cExtension endif cFileName += ...
by Gale FORd
Wed May 31, 2006 3:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cTempFile() -> bad alias
Replies: 4
Views: 1419

Como se convierte font de Twindows a FONT DE TPRINTER

... WS_CLIPSIBLINGS ) // Preparado para la ultima alienamiento //control:bGotFocus:=&("{ || alignDEL( "+chr(34)+cnomoDlg+"_"+ltrim(str(control:nId))+chr(34)+") }" ) cFont:=oGets[j]:caFonts aFont:=llenarray(cFont,0) if !EMPTY(cFont); aFont:=llenarray(cFont,0) IF LEN(aFont)>=14 //ALERT( , ...
by Vladimir Zorrilla
Tue Apr 18, 2006 6:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como se convierte font de Twindows a FONT DE TPRINTER
Replies: 5
Views: 3863

... METHOD New( nTop, nLeft, nBottom, nRight, cLabel, oWnd, nClrText,; nClrPane, lPixel, lDesign, oFont, lTransparent ) CONSTRUCTOR METHOD ReDefine( nId, cLabel, oWnd, nClrText, nClrPane, oFont, lTransparent ) CONSTRUCTOR METHOD cToChar() INLINE Super:cToChar( "BUTTON" ) #ifndef __CLIPPER__ METHOD ...
by karinha
Mon Mar 27, 2006 8:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Message not found: TSAY:LTRANSPARENT
Replies: 21
Views: 6779

Just A sample of what I do

... if classn <> "\\" if classn <> "TGET" if classn <> "TWBROWSE" aadd(items,{odlg:acontrols[x]:classname(),; odlg:acontrols[x]:nid,; odlg:acontrols[x]:hidden,; oDlg:aControls[x]:ctitle,x}) ELSE FOR Y = 1 TO LEN(oDlg:aControls[x]:aheaders) TXT=TXT+RTRIM(oDlg:aControls[x]:aheaders[Y])+"|" ...
by Mike Buckler
Sat Mar 25, 2006 5:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to get the Control Types in a Dialog?
Replies: 3
Views: 930

... TControl DEFAULT ::lActive := .t., ::lDrag := .f., ::lCaptured := .f.,; ::lFocused := .f., ::lCancel := .f. if( ( ::hWnd := GetDlgItem( hDlg, ::nId ) ) != 0 ) If( ::lActive, ::Enable(), ::Disable() ) ::Link() if ::oFont != nil ::SetFont( ::oFont ) else ::GetFont() endif else #define NOVALID_CONTROLID ...
by karinha
Tue Feb 21, 2006 2:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CLASSE DSAY.PRG CON COMANDO TRANSPARENT
Replies: 5
Views: 1928
PreviousNext

Return to advanced search