Search found 51 matches: fires

Return to advanced search

Re: RADIO BUTTON "ON CHANGE" FIRES WHEN DIALOG IS PAINTED

Antonio, As I said, it's a silly example, but it causes the event to fire repeatedly. In the real world, I have calculations tied to the ON CHANGE clause. The problem is, they run even if the value is already set and unchanged. The fix in my original post solves the problem. My ultimate question, re...
by arpipeline
Thu Oct 15, 2009 4:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RADIO "ON CHANGE" FIRES WHEN DIALOG UPDATED (WAS PAINTED)
Replies: 7
Views: 1162

Re: RADIO BUTTON "ON CHANGE" FIRES WHEN DIALOG IS PAINTED

What do you need this clause for ?

Code: Select all  Expand view
...  ON INIT ( oDlg:Refresh(), oDlg:Update() )


try to remove it. Unless I am missing something, I think that you don't need it :-)
by Antonio Linares
Thu Oct 15, 2009 3:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RADIO "ON CHANGE" FIRES WHEN DIALOG UPDATED (WAS PAINTED)
Replies: 7
Views: 1162

Re: RADIO BUTTON "ON CHANGE" FIRES WHEN DIALOG IS PAINTED

Antionio, Here is a modified testrad.prg to demonstrate the problem. It's a silly example, but it demonstrates how many times the bChange block is exectued. See below for the problem id and fix: // Radio Buttons management sample#include "FiveWin.ch"//--------------------------------------...
by arpipeline
Thu Oct 15, 2009 2:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RADIO "ON CHANGE" FIRES WHEN DIALOG UPDATED (WAS PAINTED)
Replies: 7
Views: 1162

Re: RADIO BUTTON "ON CHANGE" FIRES WHEN DIALOG IS PAINTED

Please try and review FWH\samples\TestRad.prg

That example uses the ON CHANGE clause and here it works fine
by Antonio Linares
Thu Oct 15, 2009 5:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RADIO "ON CHANGE" FIRES WHEN DIALOG UPDATED (WAS PAINTED)
Replies: 7
Views: 1162

Re: RADIO BUTTON "ON CHANGE" FIRES WHEN DIALOG IS PAINTED

Activate Dialog etc.. On Init SetRadioChange()

Procedure SetRadioChange()
oRadio:bChange := {|| MyFunctionWhenChange() }

Return


[;)]
by sambomb
Thu Oct 15, 2009 12:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RADIO "ON CHANGE" FIRES WHEN DIALOG UPDATED (WAS PAINTED)
Replies: 7
Views: 1162

RADIO "ON CHANGE" FIRES WHEN DIALOG UPDATED (WAS PAINTED)

I am having a problem with the ON CHANGE clause of the Radio class(es). It seems the ON CHANGE event is firing when the dialog or window containing the Radio button is updated, even when the value is unchanged. Is this by design or a bug?

Thanks.
by arpipeline
Wed Oct 14, 2009 11:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RADIO "ON CHANGE" FIRES WHEN DIALOG UPDATED (WAS PAINTED)
Replies: 7
Views: 1162

Re: Intermittant xBrowse ADO error ( again )

... and if you close your database or recordset with a valid close under certain circumstances .. ( unknown as of yet ) the Windows paint trigger fires and that is where we end up with a problem .. the data or record set is closed and destroyed and when the window tries to re-paint .. the window ...
by Rick Lipkin
Wed Aug 12, 2009 1:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13717

DBCombo Problem

Hi, can some help me

i have two DBcombo in my dialog,I Populate the second DBcombo on the ON CHANGE event of the first one.
But the problem is when the on CHANGE event of the first DBcombo fires the second DBcombo is populated But the first element is displayed as blank.

Regards,
sajith
by sajith
Mon Aug 03, 2009 1:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBCombo Problem
Replies: 4
Views: 879

Re: Intermittant ADO xBrowse error ( thread with Antonio )

... _VehClose(.T.) ), .F. )) Antonio made this suggestion so that the listbox does not repaint .. but for some reason the setado method still fires even after the oRs:Close() .. and that is why we tried to work around that in that method to avoid the nil value of oRs .. :cry: Rick In that ...
by nageswaragunupudi
Wed Jul 22, 2009 11:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant ADO xBrowse error ( thread with Antonio )
Replies: 11
Views: 4240

Re: Intermittant ADO xBrowse error ( thread with Antonio )

... _VehClose(.T.) ), .F. )) Antonio made this suggestion so that the listbox does not repaint .. but for some reason the setado method still fires even after the oRs:Close() .. and that is why we tried to work around that in that method to avoid the nil value of oRs .. :cry: Rick
by Rick Lipkin
Wed Jul 22, 2009 6:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant ADO xBrowse error ( thread with Antonio )
Replies: 11
Views: 4240

Trapping an MDI close from a Dialog\nowait

... everything down nicely and exit the program. Compile the code and cut and past the utilmenu.rc and link .. when you close Utilmenu .. the valid fires and I can trap that .. re-open Utilmenu and then 'x' out of the MDI frame .. and you will notice the Utilmenu valid does not fire .. but the MDI ...
by Rick Lipkin
Sat May 23, 2009 12:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Trapping an MDI close from a Dialog\nowait
Replies: 0
Views: 337

xBrowse a recordset from a WinChild

... very wrong here. I am taking my 'listbox' code for an ADO recordset and modifying it for xBrowse. The program compiles .. but when the browse fires ... all I get is a Grey mdichild window .. no data .. just blank. Here is the code : oRs:MoveFirst()DEFINE WINDOW oGRP                 ...
by Rick Lipkin
Thu May 21, 2009 6:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse a recordset from a WinChild
Replies: 1
Views: 651

Re: Diferencia en la calidad del BMP

... * New: New clauses ACTION ... [ BITMAP ... ] for GETs. FiveWin automatically creates a themed button on the GET which fires an ACTION, and you can change the GET contents from it too. Please review samples\getbtn.prg and getbtnr.prg. No need to change your current resources ...
by Daniel Garcia-Gil
Wed Mar 11, 2009 2:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Diferencia en la calidad del BMP
Replies: 4
Views: 691

It is like Antonio (AHF) says:
>When I drag email messages the FWH does not fires any message to be worked upon. It simply put the forbbiden cursor.
I think DragAcceptFiles() is a API call not a OLE one.
Regards,
Otto
by Otto
Mon Dec 15, 2008 11:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Is it possible to drop over FWH window email msgs
Replies: 24
Views: 7873

James,

When I drag email messages the FWH does not fires any message to be worked upon. It simply put the forbbiden cursor.

Antonio
by AHF
Mon Dec 15, 2008 4:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dragging and droping files is it a bug?
Replies: 2
Views: 492
PreviousNext

Return to advanced search