Search found 4762 matches

by rdonnay
Tue Jul 13, 2010 8:51 am
Forum: eXpress++ Support
Topic: mouse's wheel moving in oBrowse
Replies: 1
Views: 5797

Re: mouse's wheel moving in oBrowse

I do not have a quick answer for you. This is from the Xbase++ docs: The xbeM_Wheel event is generated when the user rotates the mouse wheel. This event is always sent to the Xbase Part that has input focus, no matter whether or not the mouse pointer is located within or outside the area of the Xbas...
by rdonnay
Tue Jul 13, 2010 8:30 am
Forum: eXpress++ Support
Topic: Problems Using XDBU.EXE is slow
Replies: 7
Views: 13794

Re: Problems Using XDBU.EXE is slow

Are you saying that this started suddenly? Earlier versions of DC_Dbu() would automatically switch from using DC_XbpBrowse() to using DC_XbpQuickBrowse() whenever there were more than 40 fields because it takes a long time to create a browse of 84 columns. In build 254 (I think) I changed it to alwa...
by rdonnay
Mon Jul 12, 2010 7:10 am
Forum: eXpress++ Support
Topic: Error
Replies: 4
Views: 9297

Re: Error

Chris - What error handler are you using? Is it the standard Xbase++ handler or your own? I am going to write a function that will dump out all of the iVars of an object to a string so it can be included in the error dump, but you will need to include a call to this function in your error handler. T...
by rdonnay
Fri Jul 09, 2010 2:32 pm
Forum: eXpress++ Support
Topic: Soap Envelopes Revisited
Replies: 1
Views: 5924

Re: Soap Envelopes Revisited

This looks like a problem inside Xb2net and should be forwarded to Boris Borsic on the Xb2net forum.

http://xb2.net.
by rdonnay
Fri Jul 09, 2010 12:42 pm
Forum: eXpress++ Support
Topic: Creating logfile
Replies: 8
Views: 31475

Re: Creating logfile

I modified one of my sample programs to also write out Menu and Button activations to a log file. Unzip the following file to your \exp19\samples\menu directory. Pbuild MSGBOX.XPJ Run MSGBOX.EXE and select the File -> Open Test Window. A file name EVENTS.LOG will be created and any button pushed or ...
by rdonnay
Wed Jul 07, 2010 9:01 am
Forum: eXpress++ Support
Topic: Creating logfile
Replies: 8
Views: 31475

Re: Creating logfile

Chris - This is what DC_ReadGuiHandler() is for. Below is some code from \exp19\samples\xdemo\xdemo.prg. A global handler works in all threads, so it is the first thing called whenever any event occurs. In the below sample, it is used to invoke the context help system and also to provide print scree...
by rdonnay
Wed Jul 07, 2010 8:48 am
Forum: User Contributions
Topic: Get Server's Time() and Date()
Replies: 1
Views: 7873

Re: Get Server's Time() and Date()

Thanks Gene.

We all appreciate user contributions like this.
by rdonnay
Wed Jul 07, 2010 7:44 am
Forum: Xbase++ Support
Topic: Need Permutation Algorithm
Replies: 9
Views: 17243

Re: Need Permutation Algorithm

Paul -

You are right.
Your algorithm is about 7 times faster.

Thank you.

Roger
by rdonnay
Tue Jul 06, 2010 4:44 pm
Forum: Xbase++ Support
Topic: Need Permutation Algorithm
Replies: 9
Views: 17243

Re: Need Permutation Algorithm

Chris - Your code works excellently. It is much simpler and easier to follow than any of the permutation code I found on the internet written in C, C++, C#, Python, Perl or PHP. That's why I love Xbase++. I made a few small mods to the code to make it run a little faster. It now runs about 2x faster...
by rdonnay
Tue Jul 06, 2010 4:38 pm
Forum: Xbase++ Support
Topic: Need Permutation Algorithm
Replies: 9
Views: 17243

Re: Need Permutation Algorithm

Gene -

I will give your code a try.
I tried Chris' code first and it works very good and fast.
I will try yours too.

Thanks.

Roger