Search found 67 matches: postedit

Return to advanced search

Editar celdas en xbrowse

... s.Marca = dbo.Marcas.Numero " Como puedo hacer una edición por celdas de los campos de la base Stock intente con: WITH OBJECT oLbx:Costo :bOnPostEdit := { | o, x, k | oRSSTK:Fields( "costo" ):Value := x } //PostEdit( o, x, k ) } // EditaCelda( oaufactu, 1, x, k, lFirstEdit ) } // ...
by jpcavagnaro
Thu Aug 31, 2023 1:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Editar celdas en xbrowse
Replies: 7
Views: 548

error TXBROWSE:CARGOS

... AliasRA autosort FASTEDIT LINES CELL font ofontBR // BACKGROUND aGrad HORIZONTAL colorxbrw( oRApertur, .f. ) WITH OBJECT oRApertur:Nombre :bOnPostEdit := { | o, x, k | RApertur->nombre := x } //PostEdit( o, x, k ) } // EditaCelda( oaufactu, 1, x, k, lFirstEdit ) } // PostEdit(o,x,k) } :nEditType ...
by jpcavagnaro
Wed Aug 30, 2023 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: error TXBROWSE:CARGOS
Replies: 3
Views: 274

Listbox dinamico con xbrowse

Hola gente, necesito poder actualizar el listbox dinamocamente, lo tengo definido así: WITH OBJECT oResultado:Clasifica :bOnPostEdit := { | o, x, k | VeoClasifica( x, oResultado ) } // PostEditc( o, x, k ) } // EditaCelda( oaufactu, 1, x, k, lFirstEdit ) } // PostEdit(o,x,k) } :nEditType ...
by jpcavagnaro
Mon Jun 26, 2023 8:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listbox dinamico con xbrowse
Replies: 0
Views: 165

Re: ERROR __OBJDERIVEDFROM

... bEditValid should avoid any screen i/o including browse refreshes. Only purpose is to return a logical value. In particular, please avoid calling PostEdit() again from inside this codeblock. 2) Recommended to avoid bOnPostEdit. If defined, may limit to assign data and any consequent actions may ...
by nageswaragunupudi
Fri Feb 15, 2019 2:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ERROR __OBJDERIVEDFROM
Replies: 14
Views: 1904

Re: ERROR __OBJDERIVEDFROM

... para que vea, no puedo extraer un ejemplo autocontenido xq son trozos de una app muy grande, te añadi tambien las funciones q llamo en varios postedit    DEFINE WINDOW oWndChild MDICHILD;         FROM aWin[01],aWin[02] TO aWin[03], aWin[04] ;         TITLE cTitle ...
by Ariel
Thu Feb 14, 2019 10:38 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ERROR __OBJDERIVEDFROM
Replies: 14
Views: 1904

ERROR XBROWSE -EDIT_LISTBOX

... Args: [ 1] = U Stack Calls =========== Called from: => NLASTKEY( 0 ) Called from: C:\SYSTEMA\TV_CABLE\PRG\new_xbrowse.prg => TXBRWCOLUMN:POSTEDIT( 8370 ) Called from: C:\SYSTEMA\TV_CABLE\PRG\new_xbrowse.prg => (b)TXBRWCOLUMN:SHOWBTNLIST( 8291 ) Called from: .\source\classes\WINDOW.PRG ...
by jbrita
Fri Feb 09, 2018 3:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ERROR XBROWSE -EDIT_LISTBOX
Replies: 1
Views: 874

Re: xBrowse TAB vs ENTER key EDIT_GET ( rao )

There is no change in xbrowse code. I am unable to comment because I do not know what is inside the postedit code. It is desirable and safer if we leave XBrowse to work with its own default codeblock for bOnPostEdit. If you write your own codeblock you should be able to resolve ...
by nageswaragunupudi
Thu Jun 22, 2017 5:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse TAB vs ENTER key EDIT_GET ( rao )
Replies: 16
Views: 2600

Re: xBrowse cell edit

I mean the code written for postedit block.

If we use COLUMNS syntax XBrowse automatically generates a bOnPostEdit codeblock.
I need to go out for a while
When I am back I will post a working sample
by nageswaragunupudi
Thu Jun 15, 2017 10:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse cell edit
Replies: 13
Views: 2140

Re: xBrowse cell edit

and why the provided example does not works?....
It is not my postedit it is yours...
by AntoninoP
Thu Jun 15, 2017 10:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse cell edit
Replies: 13
Views: 2140

Re: xBrowse cell edit

But your postedit block insists that the last key should be VK_RETURN. I suggest coding XBROWSE fully in command style, using COLUMNS clause. You can see any of the many samples I posted in the forums. Everything will work the ...
by nageswaragunupudi
Thu Jun 15, 2017 10:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse cell edit
Replies: 13
Views: 2140

xBrowse: grabar dato al salir de celda con el mouse

... programas se quejan de que al salir del editor de celda con el mouse, se pierde el dato. Lo resolví de la siguiente manera: Modifique el METHOD PostEdit( xValue, lButton, lDirectAssign ) CLASS TXBrwColumn, de la siguiente forma:       case ::nEditType == EDIT_GET .or. ::nEditType >= EDIT_DATE  ...
by RSalazarU
Thu Aug 04, 2016 3:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse: grabar dato al salir de celda con el mouse
Replies: 3
Views: 553

Re: Listbox en un xbrowse

... pulso sobre la ventana del listbox. Me presenta siempre, la ultima linea del Browse, ya que es el array que tengo cargado. El tema esta en que el postedit, me sirve una vez editada la primera condicion, pero mi pregunta es ¿ hay un "preedit"?. Tambien existe la opcion de cargar un array ...
by sajarm
Fri Dec 11, 2015 10:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Listbox en un xbrowse
Replies: 19
Views: 4655

Re: xbrowse picture for string with percentual field

Silvio:

Ouch, I'm not expert in xBrowse class, but I remember xBrowse has POSTEDIT method
then you can use my previous idea with that method.

Regards
by Armando
Sun Nov 09, 2014 8:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse picture for string with percentual field
Replies: 7
Views: 1680

XBROWSE QUESTIONS ?

Hi all Xbrowse is going to be great class but coomplex too Why not add in xbrowse.ch ON PREEDIT (ON POSTEDIT ... ON EDIT) exist (WHEN ) exist (VALID) exist ON KEYDOWN ON KEYCHAR What is the order while evaluating ? bOnPreEdit, bOnPostEdit, bWhen, bValid, bKEyDown, bKeyChar ...
by avista
Fri Sep 05, 2014 9:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE QUESTIONS ?
Replies: 3
Views: 1105

Re: Fivewin 13.05 y TsBrowse 8.0

A nadie le pasa ??, ninguna idea ....
Se que en algun momento TxBrowse hay que usar, para ser mas "nativo" y lo hago en pequeñas cosas, pero este es un "Browse" con muchas condiciones y PostEdit, espero alguien me pueda tirar una cuerda ...
Gracias
by Enrrique Vertiz
Sat Jun 22, 2013 2:28 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Fivewin 13.05 y TsBrowse 8.0
Replies: 12
Views: 2019
Next

Return to advanced search