Search found 48 matches

by Raymond Fischbach
Wed Oct 06, 2010 8:30 am
Forum: FiveWin for Pocket PC
Topic: Browse doesn"t get focus
Replies: 2
Views: 799

Re: Browse doesn"t get focus

Hi Antonio, I have an answer, a workaround and maybe an explanation. Explanation: It seems that the function DetAddSel() is executed in another thread. Then the function is called and immediately the following statements are executed. Then the browse is active again, the new window is also started b...
by Raymond Fischbach
Sat Oct 02, 2010 8:57 pm
Forum: FiveWin for Pocket PC
Topic: Browse doesn"t get focus
Replies: 2
Views: 799

Browse doesn"t get focus

Hello all, I open a window that displays a browse. I use the up and down arrows to skip the records in the browse, the selected record being white on blue while all other records are black on white. There is a button (or I detect a keyboard key) that calls a sub function to do some data entry. When ...
by Raymond Fischbach
Sat Oct 02, 2010 8:41 pm
Forum: FiveWin for Pocket PC
Topic: Macro operator
Replies: 5
Views: 1075

Re: Macro operator

Thanks Antonio,
Raymond
by Raymond Fischbach
Sat Oct 02, 2010 8:15 pm
Forum: FiveWin for Pocket PC
Topic: Escape or control key in a tGet
Replies: 3
Views: 880

Re: Escape or control key in a tGet

Hello Antonio,

Sorry for the late reply, I didn't see your message.

In fact I used a workaround. I detect it at the window level:

Code: Select all

//*** clavier
oWnd:bKeyDown := {|nkey|iif(nKey == C_ESC,oWnd:End(),)}
 
HTH,
Raymond
by Raymond Fischbach
Wed Sep 22, 2010 10:14 am
Forum: FiveWin for Pocket PC
Topic: Macro operator
Replies: 5
Views: 1075

Re: Macro operator

Thank you Antonio and Maurizio, Antonio, I did not try your solution because I asked only half of my problem and your solution works when I want to replace the value of a field but I still don't know how to retrieve the value of the field. Maurizio, Your syntax works perfectly. This is my code now: ...
by Raymond Fischbach
Tue Sep 21, 2010 8:44 pm
Forum: FiveWin for Pocket PC
Topic: Macro operator
Replies: 5
Views: 1075

Macro operator

Hello all, I have a table with various field named D10,D11,D12,D13, ... I would like to update the fields in a loop using the macro operator. Something similar to LOCAL cFld := "" LOCAL nInd := 0 FOR nInd := 10 TO 20    cFld := "D" + Str(nInd,2)    oTable:&cFld := nInd NEXT  ...
by Raymond Fischbach
Tue Sep 21, 2010 8:38 pm
Forum: FiveWin for Pocket PC
Topic: Escape or control key in a tGet
Replies: 3
Views: 880

Re: Escape or control key in a tGet - solved

Hi all,

I have find an answer to my problem so I close the subject.

Raymond
by Raymond Fischbach
Mon Sep 20, 2010 8:13 pm
Forum: FiveWin for Pocket PC
Topic: Escape or control key in a tGet
Replies: 3
Views: 880

Escape or control key in a tGet

Hello all, In a dialog, I setup a tGet to enter a numeric value in a field. This is done in a loop. This means that when the user has entered the field value, I create the record and stay in the same dialog for the next entry. It would be very helpful to the user to be able to press the Escape key o...
by Raymond Fischbach
Sun Aug 02, 2009 2:57 pm
Forum: FiveWin for Pocket PC
Topic: Sound on Pocket PC
Replies: 2
Views: 627

Re: Sound on Pocket PC

Hello Enrico,

Once more you give me the right information.
It works perfectly.

Thank you,
Raymond
by Raymond Fischbach
Sun Aug 02, 2009 8:31 am
Forum: FiveWin for Pocket PC
Topic: GET ... WHEN
Replies: 4
Views: 1008

Re: GET ... WHEN

Hello Enrico,

Sorry for the late answer but I have had a lot of other work to do in between.
It also took me some time to find how I could define the oGet object.
Finaly, I thought about the ppo file and ... bingo :)

Your solution works perfectly.

Many thanks again,
Raymond
by Raymond Fischbach
Sun Aug 02, 2009 8:14 am
Forum: FiveWin for Pocket PC
Topic: Sound on Pocket PC
Replies: 2
Views: 627

Sound on Pocket PC

Hello all, I would like to play a wav file to give different sounds for various purposes and to replace the PC sound which is not very "attractive". I tried to use the following function: #define SND_SYNC      0 #define SND_ASYNC     1 SndPlaySound("\Start.wav",SND_ASYNC)   But i...
by Raymond Fischbach
Fri Jun 05, 2009 6:49 am
Forum: FiveWin for Pocket PC
Topic: GET ... WHEN
Replies: 4
Views: 1008

Re: GET ... WHEN

Hello Enrico,

Thank you for this info.
But how can I do it?

Many thanks,
Raymond
by Raymond Fischbach
Thu Jun 04, 2009 3:28 pm
Forum: FiveWin for Pocket PC
Topic: GET ... WHEN
Replies: 4
Views: 1008

GET ... WHEN

Hello all, I am facing a problem with the WHEN clause of a GET. As a reference, the VALID clause is executed when the GET control loses focus. This works perfectly. Similarly, I suppose that the WHEN clause should be executed when the GET control receives the focus. This doesnt' work as expected. In...
by Raymond Fischbach
Sat Mar 28, 2009 9:29 pm
Forum: FiveWin for Pocket PC
Topic: MsgWait()
Replies: 3
Views: 674

Re: MsgWait()

Hello Richard,

Sorry, after I posted my reply, I realised that SYNCRO() was your function.
I will make more tests and will come back later with my results.

Regards,
Raymond
by Raymond Fischbach
Sat Mar 28, 2009 8:54 pm
Forum: FiveWin for Pocket PC
Topic: MsgWait()
Replies: 3
Views: 674

Re: MsgWait()

Hello Richard,

Thank you for the hint but none of them work.

I first tried with MsgRun() but I get an unresolved external symbol: HB_FUN_SYNCRO

Then I tried with SysRefresh() but the application seems to collapse after the message is displayed and the message window is closed.