Search found 40 matches: ledit

Return to advanced search

Re: can use SWITCH Control in XBROWSE ?

i like to request EDIT_LOGIC This is implemented as: oCol:SetCheck( [aBmps], [lEdit], [aPrompts] Parameters: aBmps: Optional. Array or 2 or 3 bitmaps to be displayed when the value is .T., .F., nil. If omitted, xbrowse provides default bitmaps ...
by nageswaragunupudi
Tue May 30, 2023 12:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: can use SWITCH Control in XBROWSE ?
Replies: 7
Views: 510

MEMO : EDIT or GET with MULTILINE

i want to show LOG-File but not sure which Control to use : EDIT or GET :?: --- PROCEDURE TXT_Edit( cFile, lEdit ) some Question : how to "save" File when something have "change" ( VAILD TXTRelease( lEdit, cFile, cMemo, cSave) ) how to use READONLY ...
by Jimmy
Tue Mar 28, 2023 5:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MEMO : EDIT or GET with MULTILINE
Replies: 5
Views: 520

FWMariaDB and XBrowse - Query - Mr. Rao

... 20, 20, 20, ; 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20 ; FASTEDIT WITH OBJECT oBrw :nEditTypes := EDIT_GET :SetChecks( nil, .t. ) :nfreeze := 4 :lEdit:=.t. END WITH ACTIVATE DIALOG oDlg CENTER oRs:Close() RETURN nil I have this code, it allows me to display the information of a query that includes ...
by jose_murugosa
Tue Dec 21, 2021 11:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWMariaDB and XBrowse - Query - Mr. Rao
Replies: 0
Views: 139

Re: An easy way to make a tree-browse

... { "tree1", "tree2", "treevh" } ) // ocol:cFooter := "GRAND TOTAL" ocol:nEditType := {||if(::ledit,1,0)} ocol:bEditValue := {||odb2:cquery:="select * from ac where acid='"+obrow2:oTreeItem:cPrompt+"'",odb2:refresh(),obrow2:oTreeItem:cPrompt} ...
by ShumingWang
Wed Jul 31, 2019 1:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: An easy way to make a tree-browse
Replies: 17
Views: 3522

Re: BOM production

... eng050401(oitem,.f.,"bom1","bom2") else eng050401(oitem,.f.,"engbom1","engbom2") end obl1:ledit:=.f. obl1:odlg:UPDATE() obl1:odlg:obar:AEVALwhen() return FUNCTION eng0504(itemid1,version1,ctable1,ctable2) local oWnd1, oTree, oBmp1, oBmp2, ...
by ShumingWang
Fri Apr 27, 2018 2:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BOM production
Replies: 3
Views: 1128

New FTDN March/Marzo 2017 (FWH 17.03)

... mode) the data is split into separate pages. So this option is suitable for small tables. - Improved function XbrHexEdit( [@]cData, [cTitle], [lEdit = .f.] ) --> cData a) Dialog can be resized b) Seek fixed - New DATA lFullPaint INIT .f. - Hashes can now be edited. * DATAROW: New DATA: nSaveSecs: ...
by Antonio Linares
Wed Mar 29, 2017 10:06 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2017 (FWH 17.03)
Replies: 0
Views: 1508

Re: Clase TIconGroup

... ExtDrawIcon( hDC, ::aCoors[ nAt, 1 ], ::aCoors[ nAt, 2 ], ; ::aIcons[ nAt ], ::aPrompts[ nAt ], hFont, ; ::nClrText, ::nClrPane, lFocused, .t., ::lEdit ) Yo probaría a cambiar el color de ::nClrPane Prueba asi: oIconGroup:bGotFocus := { || ::nClrPane := nColorQueDesees }
by Antonio Linares
Fri Jul 31, 2015 11:52 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase TIconGroup ( SOLUCIONADO )
Replies: 12
Views: 1721

New FTDN march/april 2014 (FWH 14.04)

... with command syntax from RDD,ADO,MySql/ Dolphin with columns clause. The method does not work with Arrays. (e) New: METHOD SetChecks( aBmp, lEdit, aPrompts ) CLASS TXBrowse. Calling oBrw:SetChecks() calls SetCheck() method for all logical columns in the browse. * TDataRow (a) fix: Now the ...
by Antonio Linares
Thu May 22, 2014 4:16 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN march/april 2014 (FWH 14.04)
Replies: 2
Views: 1750

Re: Warning W0027 Compiling Error

... well your problem The solution is that the IIF function must be returned to a variable Try also: REDEFINE BUTTON oBtn4 ID 1002 OF oDlg WHEN lEdit  ACTION ;            lEdit := IIF ( lEdit, oSizeDbf:append(), .t.), ;            oSizeDbf:StkSize := STR(oSizeDbf:hsize,6,3)+ ...
by cnavarro
Mon Jan 20, 2014 9:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Warning W0027 Compiling Error
Replies: 8
Views: 1338

Re: XBROWSE fiirst steps

obrow := TXBrowse():New( odlg ) obrow:SetMySQL(@odb2) obrow:bKeyDown := {|nKey|sto0120(nkey,odlg,otabs),if(ledit,if(nKey==VK_DELETE .and. LEN(ALLTRIM(odb1:stockid))>0, (if(msgyesno("删除这行吗?","请选择"),(sto0103(odb2:qty,0),odb2:DELETE(),obrow:Refresh()),)),if(nKey==VK_INSERT ...
by ShumingWang
Thu Apr 18, 2013 5:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE fiirst steps
Replies: 6
Views: 2073

Re: TXBROWSE para Antonio Linares o Daniel Gil (SOLUCIONADO)

... los franceses "et voila" el programa funciona correctamente sin problemas y además con el tercer parámetro del setcheck(arraybitmaps, lEdit, ArrayCaracteres). No ha sido necesario tocar las líneas que usted me indica, no obstante haré los cambios oportunos por si de esa manera funcionara ...
by Pedro
Sun Feb 24, 2013 5:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TXBROWSE para Antonio Linares o Daniel Gil (SOLUCIONADO)
Replies: 14
Views: 5150

Re: TXBROWSE para Antonio Linares o Daniel Gil (SOLUCIONADO)

... and how SetCheck is used in the program. SetCheck Parameters: 1. [Optional: Array of bitmaps]. If omitted, default bitmaps are used. 2. [Optional: lEdit] If the parameter is .t., the user is allowed to modify the values. 3. [Optional: Array of prompts] If specified, in addition to the checkbox ...
by nageswaragunupudi
Fri Feb 22, 2013 4:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TXBROWSE para Antonio Linares o Daniel Gil (SOLUCIONADO)
Replies: 14
Views: 5150

Re: EditCell

... := obrow1:AddCol() oCol:bStrData := {||odb1:centerid} oCol:cHeader := "编码" oCol:bEditValue := {||odb1:centerid} oCol:nEditType := {||if(ledit,1,0)} oCol:bOnPostEdit := {|o, v, n| if( n != VK_ESCAPE .and. v != odb1:centerid,; (if(odb1:EOF(),; (odb1:centerid:=v,odb1:enddate:=CTOD("2999.12.31"),odb1:APPEND(),obrow1:refresh(),if(!oserver:lerror,obrow1:SEEK(v),msgstop("编码重复!","停止"))),; ...
by ShumingWang
Mon Aug 13, 2012 2:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: EditCell
Replies: 6
Views: 1394

Re: Help with TListBox

... for oDlg not for the Folder. REDEFINE LISTBOX ::oLbxNewGroup VAR nNew ID 1 OF oDlg ITEMS ::aNewGroups ; UPDATE ON DBLCLICK EVAL( bRemove ) WHEN ::lEdit REDEFINE LISTBOX ::oLbxActualGroup VAR nAct ID 2 OF oDlg ITEMS ::aActualGroups ; UPDATE ON DBLCLICK EVAL( bAdd ) WHEN ::lEdit it should be something ...
by ukoenig
Fri Jul 13, 2012 8:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with TListBox
Replies: 4
Views: 927

Re: several questions about xBrowse

::obrow := TXBrowse():New( odlg ) obrow:=::obrow obrow:SetMySQL(odb2) obrow:bKeyDown := {|nKey|::sto0120(nkey), if(::ledit,if(nKey==VK_DELETE .and. LEN(ALLTRIM(odb1:stockid))>0, (if(msgyesno2("删除这行吗?","请选择"),(::sto0103(odb2:qty,0,,.t.),odb2:DELETE(),obrow:Refresh()),)),if(nKey==VK_INSERT ...
by ShumingWang
Mon Dec 19, 2011 2:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: several questions about xBrowse
Replies: 12
Views: 3419
Next

Return to advanced search

cron