Search found 22 matches: bpostedit

Return to advanced search

Editar campos en TXBrowse

... utilizando un TxBrowse de tres columnas y quiero editar uno tras otro los tres campos correspondientes a un mismo registro. Para ello utilizo tres bPostEdit, uno para cada columna: bPostEdit1 := {|o,v,n| iif( n != VK_ESCAPE, ::GrabarCampo(1,v),) bPostEdit2 := ...
by Rafael Clemente
Wed Jul 02, 2008 8:36 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Editar campos en TXBrowse
Replies: 5
Views: 1149

... That is all Frank Demont Notes Fastedit mode is only activated when also oCol:nEdittype is set From all other data used to edit the column is only bPostEdit used # include "fivewin.ch" # include "xbrowse.ch" # include "Common.ch" # include "dtpicker.ch" ...
by demont frank
Tue May 06, 2008 8:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse : enhancement , inline editing
Replies: 6
Views: 3091

... on writing, with Left or Right arrow keys (as in Excel). The Esc key cancels editing mode with no change in the field. 10.- Using bPrevEdit and bPostEdit code blocks, you can control the value of variables used in footers when those were defined as code blocks. See sample 7 11.- When the Browse ...
by George
Fri Feb 08, 2008 3:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TSBROWSE Class OF MANUEL MERCADO
Replies: 24
Views: 8966

Otto,

Silly me. You can also do this with a VALID clause.

redefine get oGetStart...valid checkDates(oGetStart,oGetEnd)

Then just return .t. from the checkDates function (instead of nil). It should work just the same as using bPostEdit.

James
by James Bott
Thu Dec 27, 2007 11:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ON CHANGE in tGet
Replies: 29
Views: 6691

... Thus the Catch-22. I would color the background of both fields pink when start > end, and popup a tooltip explaining the problem. I would use bPostEdit to trigger this action on both GETs. This way the user can edit either field to get the backgrounds to turn white again (valid). I wouldn't ...
by James Bott
Thu Dec 27, 2007 10:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ON CHANGE in tGet
Replies: 29
Views: 6691

... suggestions, though a lot more is need to be done. This is to atleast ensure that invalid and unintended values are not written to the data. 1. bPostEdit block receives three paramters. ( oCol, uValueEntered, oGet'snLastkey). Programmer should write bPostEditBlock to write changes to the database ...
by nageswaragunupudi
Sat Nov 24, 2007 1:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse -array - how to add, del and select an item?
Replies: 10
Views: 2004

Tsbrowse and lostfocus

Hi Marco,

have a look at the sbtest.prg sample.
There you can see the usage of bPostEdit.

Maybe this could solve your problem.

Regards,
Detlef
by Detlef Hoefner
Sat Oct 08, 2005 9:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tsbrowse and lostfocus
Replies: 2
Views: 1581
Previous

Return to advanced search