Search found 811 matches

by fraxzi
Thu Nov 19, 2009 8:38 am
Forum: FiveWin for Harbour/xHarbour
Topic: Dimmed xBrowse
Replies: 7
Views: 1914

Re: Dimmed xBrowse

Please try this or similar code: oBrw:bClrStd := { || If( oBrw:lActive, { CLR_BLACK, CLR_WHITE }, { CLR_WHITE, CLR_HGRAY } ) } func BrwDisable( oBrw ) oBrw:SetColor( CLR_WHITE, CLR_HGRAY ) oBrw:Disable() return nil func BrwEnable( oBrw ) oBrw:SetColor( CLR_BLACK, CLR_WHITE ) oBrw:Enable() oBrw:Refr...
by fraxzi
Thu Nov 19, 2009 4:05 am
Forum: FiveWin for Harbour/xHarbour
Topic: Free tables and Advantage Internet Server (AIS)
Replies: 8
Views: 2220

Re: Free tables and Advantage Internet Server (AIS)

Yes you can add table to .ADD programaticaly. 1. delete the existing alias from your .ADD using :  AdsDDRemoveTable( 'your alias',,,hADSHandle )   //=>lSuccess, but return doesn't matter.   2. add your table (assuming the table is in your C:\AAPL ) AdsDDAddTable( 'your alias', 'table path'+'table',,...
by fraxzi
Thu Nov 19, 2009 3:56 am
Forum: FiveWin for Harbour/xHarbour
Topic: Dimmed xBrowse
Replies: 7
Views: 1914

Dimmed xBrowse

Hello!

How can I dimmed or grayed xBrowse?

I tried oBrw:Disable() but still in predefined colors unlike other objects like Get, Radio, etc... they are dimmed when is oOBj:Disable().


Any Idea?

Regards,
Fraxzi
by fraxzi
Thu Nov 12, 2009 2:16 am
Forum: FiveWin for Harbour/xHarbour
Topic: Free tables and Advantage Internet Server (AIS)
Replies: 8
Views: 2220

Re: Free tables and Advantage Internet Server (AIS)

Hi, I hope this helps. 1. No need to share 'C:' or any folder. 2. create adsserver.ini and put to path with 'error and assert log path' usualy 'C:' partition on your adsserver.ini contains:     [ServerAliases]      yourdataDD = c:\yourdatafolder     //the location of your remote .add and tables     ...
by fraxzi
Wed Nov 11, 2009 12:53 am
Forum: FiveWin for Harbour/xHarbour
Topic: UP, DOWN arrow keys pressed in xBrowse
Replies: 19
Views: 2915

Re: UP, DOWN arrow keys pressed in xBrowse

Thanks Rao for the additional input.


My best regards,
Fraxzi
by fraxzi
Tue Nov 10, 2009 1:25 am
Forum: FiveWin for Harbour/xHarbour
Topic: UP, DOWN arrow keys pressed in xBrowse
Replies: 19
Views: 2915

Re: UP, DOWN arrow keys pressed in xBrowse

Fraxzi, with the above, can I alter the Method Keydown() on an already created object TXBrowse? Well, you have to use MyBrowse instead of TXBrowse, but other than the way you call it: Instead of: oBrw:= TXBrowse():new( oWnd ) You use: oBrw:= MyBrowse():new( oWnd ) The syntax is exactly the same as ...
by fraxzi
Mon Nov 09, 2009 8:54 am
Forum: FiveWin for Harbour/xHarbour
Topic: UP, DOWN arrow keys pressed in xBrowse
Replies: 19
Views: 2915

Re: UP, DOWN arrow keys pressed in xBrowse

#include "fivewin.ch" #include "vkey.ch" CLASS MyBrowse from TXBrowse    method KeyDown() endclass Method KeyDown( nKey, nFlags ) CLASS MyBrowse   do case      case nKey == VK_UP         // do whatever      case nKey == VK_DOWN         // do whatever   enddo return super:keyDown...
by fraxzi
Mon Nov 09, 2009 12:22 am
Forum: FiveWin for Harbour/xHarbour
Topic: UP, DOWN arrow keys pressed in xBrowse
Replies: 19
Views: 2915

Re: UP, DOWN arrow keys pressed in xBrowse

Thanks James,

Do you have a sample I can start with?


Fraxzi
by fraxzi
Fri Nov 06, 2009 7:42 am
Forum: FiveWin for Harbour/xHarbour
Topic: UP, DOWN arrow keys pressed in xBrowse
Replies: 19
Views: 2915

Re: UP, DOWN arrow keys pressed in xBrowse

Fraxzi, modifying the METHOD KeyDown() in xbrowse.prg works for me. For example I wanted to trap the key VK_TAB: CASE nKey == VK_TAB       My_Tab()   Thanks Frose! as-much-as possible not to modify the original class so I wont forget the modification after an upgrade... That would be the last resor...
by fraxzi
Fri Nov 06, 2009 7:04 am
Forum: FiveWin for Harbour/xHarbour
Topic: UP, DOWN arrow keys pressed in xBrowse
Replies: 19
Views: 2915

UP, DOWN arrow keys pressed in xBrowse

Hello All,

I use bKeyDown and bKeyChar but I cant trap the UP and DOWN arrow keys..

No problem If using mouse to navigate but if UP,DOWN keys are pressed?



Regards,
Fraxzi
by fraxzi
Fri Nov 06, 2009 12:18 am
Forum: FiveWin for Harbour/xHarbour
Topic: Mouse Click outside NoWait Dialog
Replies: 10
Views: 964

Re: Mouse Click outside NoWait Dialog

Dear Enrico, This sample works fine here: #include "Fivewin.ch" FUNCTION MAIN()     LOCAL oDlg     DEFINE DIALOG oDlg     oDlg:bLostFocus = { || oDlg:End() }     ACTIVATE DIALOG oDlg;              CENTER     RETURN NIL EMG Yes it works as expected... but if modal :     ACTIVATE DIALOG oDlg...
by fraxzi
Thu Nov 05, 2009 9:45 am
Forum: FiveWin for Harbour/xHarbour
Topic: Mouse Click outside NoWait Dialog
Replies: 10
Views: 964

Re: Mouse Click outside NoWait Dialog

Enrico,

I defined oDlg:bLostFocus := {|| oDlg:End() } but not executing on modal mode.

Any workaround?


Regards,
Fraxzi
by fraxzi
Wed Nov 04, 2009 11:56 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Mouse Click outside NoWait Dialog
Replies: 10
Views: 964

Re: Mouse Click outside NoWait Dialog

Dear Enrico,

Thank you!

How forgetful I am :lol:


I test it with Modal too but not what I desired.



Regards,
Fraxzi
by fraxzi
Wed Nov 04, 2009 8:52 am
Forum: FiveWin for Harbour/xHarbour
Topic: Mouse Click outside NoWait Dialog
Replies: 10
Views: 964

Mouse Click outside NoWait Dialog

Hello All,

I have a NoWait Dialog... How to determine if mouse click is outside the Dialog?



Regards,
Fraxzi
by fraxzi
Wed Oct 28, 2009 4:09 am
Forum: FiveWin for Harbour/xHarbour
Topic: How do you deal with your users?
Replies: 19
Views: 4584

Re: How do you deal with your users?

Reinaldo,

Maybe she likes you... because you're handsome :wink:


Regards,
Frances