... für das Grid-System
METHOD AddToGrid( oControl, nRow, nCol, nColSpan )
METHOD ResizeControls( nWidth, nHeight )
METHOD _NCOLUMNS( nNewValue ) SETGET
// ... (restliche vorhandene Methoden)
ENDCLASS
//----------------------------------------------------------------------------//
METHOD ...
Search found 61 matches: setget
Searched query: setget
- Thu Jan 16, 2025 7:09 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Bootstrap for FiveWin
- Replies: 6
- Views: 1017
- Sat Jul 31, 2021 7:22 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: TCalex error (Solucionado)
- Replies: 5
- Views: 872
Re: TCalex error
Sebastian, en la clase TCalex, existe una function que te permite setear ( sirve a modo de SETGET ) la variable estática que se encarga de esa configuración y que puedes llamar en cualquier momento. Quizás con esto puedas solucionar el problema
Code: Select all | Expand
FUNCTION Calex_SetFirstDate( nFirst )
- Sun Feb 07, 2021 9:15 am
- Forum: WhatsNew / Novedades
- Topic: New FTDN January/Enero 2021 (FWH 21.01)
- Replies: 1
- Views: 2525
Re: New FTDN January/Enero 2021 (FWH 21.01)
... entre nMin y nMax caracteres.
Útil para obtener variables de texto VarChar en bases de datos SQL.
- Ahora es posible usar un bloque de código bSetGet como variable. Esto ayuda al programador a
mejorar las capacidades del Get.
Por ejemplo:
bSetGet := { |x| If( x == nil, nVal * 100, nVal := x ...
Útil para obtener variables de texto VarChar en bases de datos SQL.
- Ahora es posible usar un bloque de código bSetGet como variable. Esto ayuda al programador a
mejorar las capacidades del Get.
Por ejemplo:
bSetGet := { |x| If( x == nil, nVal * 100, nVal := x ...
- Sun Feb 07, 2021 9:10 am
- Forum: WhatsNew / Novedades
- Topic: New FTDN January/Enero 2021 (FWH 21.01)
- Replies: 1
- Views: 2525
New FTDN January/Enero 2021 (FWH 21.01)
... returns a text with length between
nMin and nMax characters.
Useful in getting VarChar text in Sql databases.
- It is now possible to use a bSetGet codeblock as variable. This helps the
programmer to enhance the capabilities of Get.
Eg:
bSetGet := { |x| If( x == nil, nVal * 100, nVal := x ...
nMin and nMax characters.
Useful in getting VarChar text in Sql databases.
- It is now possible to use a bSetGet codeblock as variable. This helps the
programmer to enhance the capabilities of Get.
Eg:
bSetGet := { |x| If( x == nil, nVal * 100, nVal := x ...
- Fri Nov 08, 2019 6:37 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: XBrowse setget
- Replies: 5
- Views: 977
Re: XBrowse setget
It works as expected now. Thanks a lot.
- Fri Nov 08, 2019 6:20 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: XBrowse setget
- Replies: 5
- Views: 977
Re: XBrowse setget
I am extremely sorry.
It is not bOnSave.
It is bOnChange
oCol:bOnChange := { |oCol, uOldVal| yourcode }
It is not bOnSave.
It is bOnChange
oCol:bOnChange := { |oCol, uOldVal| yourcode }
- Fri Nov 08, 2019 1:40 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: XBrowse setget
- Replies: 5
- Views: 977
Re: XBrowse setget
I tried the following:
oBrw1:aCols[ 4 ]:SetCheck( ) // works OK
When I add the folowing line the system crashes while opening the browse.
oBrw1:aCols[ 4 ]:bOnSave := { || msgInfo( "Hi" ) }
The error log is:
Application Internal Error - D:\xProjetos\VavAta\VAVATA.EXE
Terminated at: 2019-11-08 10 ...
oBrw1:aCols[ 4 ]:SetCheck( ) // works OK
When I add the folowing line the system crashes while opening the browse.
oBrw1:aCols[ 4 ]:bOnSave := { || msgInfo( "Hi" ) }
The error log is:
Application Internal Error - D:\xProjetos\VavAta\VAVATA.EXE
Terminated at: 2019-11-08 10 ...
- Thu Nov 07, 2019 2:09 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: XBrowse setget
- Replies: 5
- Views: 977
Re: XBrowse setget
Thanks for the answer. I'll see what I can achieve with it.
- Thu Nov 07, 2019 2:00 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: XBrowse setget
- Replies: 5
- Views: 977
Re: XBrowse setget
This codeblock is called after a cell is edited and saved.
In case of DBF, the record is locked, new value is saved, the codeblock bOnSave is evaluated and then the record is unlocked.
Code: Select all | Expand
oCol:bOnSave( oCol, uOldValue )
In case of DBF, the record is locked, new value is saved, the codeblock bOnSave is evaluated and then the record is unlocked.
- Thu Nov 07, 2019 10:29 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: XBrowse setget
- Replies: 5
- Views: 977
XBrowse setget
Hi,
I'd like to know if it's possible to trigger an action when a setget field is changed in a XBrowse.
Tks
I'd like to know if it's possible to trigger an action when a setget field is changed in a XBrowse.
Tks
- Thu Jul 25, 2019 9:43 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: [BUG] in source/font.prg and a question
- Replies: 8
- Views: 1344
Re: [BUG] in source/font.prg and a question
... in relation to the window-size and optional adding bold
I tested
oFontMed1:Modify( 50, .T. )
and
oFontMed1:nHeight(50)
but NO change
METHOD nWidth( nNewValue ) SETGET
METHOD nHeight( nNewValue ) SETGET
METHOD Modify( nHeight, lBold, lItalic, lUnderline, lStrikeOut, nEscapement )
regards
Uwe
I tested
oFontMed1:Modify( 50, .T. )
and
oFontMed1:nHeight(50)
but NO change
METHOD nWidth( nNewValue ) SETGET
METHOD nHeight( nNewValue ) SETGET
METHOD Modify( nHeight, lBold, lItalic, lUnderline, lStrikeOut, nEscapement )
regards
Uwe
- Thu Aug 09, 2018 3:29 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: MENU paint Issue *Fixed*
- Replies: 9
- Views: 1536
Re: MENU paint Issue *Fixed*
... pending to implement for future versions
Currently the item's height is calculated with the selected font and/or with the function GetnHeightItem (SETGET), so if we want to be sure not to perform global settings at the height of the items, we must save the value that has that value to be able to ...
Currently the item's height is calculated with the selected font and/or with the function GetnHeightItem (SETGET), so if we want to be sure not to perform global settings at the height of the items, we must save the value that has that value to be able to ...
- Wed Aug 08, 2018 7:42 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: MENU paint Issue *Fixed*
- Replies: 9
- Views: 1536
Re: MENU paint Issue *Fixed*
... pending to implement for future versions
Currently the item's height is calculated with the selected font and/or with the function GetnHeightItem (SETGET), so if we want to be sure not to perform global settings at the height of the items, we must save the value that has that value to be able to ...
Currently the item's height is calculated with the selected font and/or with the function GetnHeightItem (SETGET), so if we want to be sure not to perform global settings at the height of the items, we must save the value that has that value to be able to ...
- Tue Apr 24, 2018 9:25 am
- Forum: WhatsNew / Novedades
- Topic: New FTDN March/Marzo 2018 (FWH 18.03)
- Replies: 0
- Views: 2131
New FTDN March/Marzo 2018 (FWH 18.03)
... number of ranges in the X axis
Please review new samples\testgrph.prg. Many thanks to Alvaro Quintana for his great help.
* FWMariaRowSet:
- SetGet method PrimaryVal: Fixed bug when record pointer is invalid.
- Method Requery(...) Enhancement: It is now possible to read a totally
different ...
Please review new samples\testgrph.prg. Many thanks to Alvaro Quintana for his great help.
* FWMariaRowSet:
- SetGet method PrimaryVal: Fixed bug when record pointer is invalid.
- Method Requery(...) Enhancement: It is now possible to read a totally
different ...
- Thu Mar 22, 2018 11:14 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: xBrowse Report and column pictures
- Replies: 3
- Views: 851
Re: xBrowse Report and column pictures
... is built into xbrowse to allow bStrData returning non-character values.
Kindly read whatsnew.txt of March 2008.
We suggest using bEditValue as a SETGET block returning value of any type and optional cEditPicture for formatting. bStrData is constructed internally by XBrowse, using bEditValue and ...
Kindly read whatsnew.txt of March 2008.
We suggest using bEditValue as a SETGET block returning value of any type and optional cEditPicture for formatting. bStrData is constructed internally by XBrowse, using bEditValue and ...