Search found 9 matches

by webba
Wed Nov 12, 2003 8:06 pm
Forum: Coding Questions
Topic: Progress Bar Refresh
Replies: 10
Views: 2810

Well hopefully not. Not tonight anyway cos I'm off to bed now...

Thanks all :D
bye!
by webba
Wed Nov 12, 2003 7:52 pm
Forum: Coding Questions
Topic: Progress Bar Refresh
Replies: 10
Views: 2810

:oops: :oops: :oops:

Ha Ha!

Pupil saves the day!

i'm wondering if it's an integer issue

Yes. An integer issue. It's a case of PEBKAC*

Thanks pupil. If I had any sense I'd have tried setting the progress bar to some intermediate values in the routine or debugged the value I was setting it to ...
by webba
Wed Nov 12, 2003 7:31 pm
Forum: Coding Questions
Topic: Progress Bar Refresh
Replies: 10
Views: 2810

Just to confirm...

ReadString() is working as per the manual. One of my source files is 500K and I doubt that PB's string routines would let me load that into 1 string. Besides, the logic of the routine wouldn't allow it and it's working fine in all other respects.

I must say I'm surprised that as ...
by webba
Wed Nov 12, 2003 3:36 pm
Forum: Coding Questions
Topic: Progress Bar Refresh
Replies: 10
Views: 2810

Thanks for the suggestion Pupil.

It doesn't seem to work with my code though...!? :cry:
Here's the relevant snippet...


.....
.....
UseFile(#Source)
sBuffer = ReadString()
lLine = lLine + 1
SetGadgetState(#Gadget_1, ( ( Loc() / Lof() ) * 100 ) )
While WindowEvent()
Wend
Until Eof ...
by webba
Wed Nov 12, 2003 1:26 pm
Forum: Coding Questions
Topic: Progress Bar Refresh
Replies: 10
Views: 2810

Progress Bar Refresh

Hi all!

I wonder if any one can help?? :D

I have a loop that processes a text file. I have a progress bar that should display the progress of the routine - Im seting the gadget state inside the loop, but the progress bar gadget doesn't seem to update until the loop finishes.

I guess this is ...
by webba
Wed Aug 06, 2003 10:13 am
Forum: Coding Questions
Topic: Refresh 2d drawings
Replies: 7
Views: 2624

Flype,

Arrggg! I need about 100 hours in a day! Since we last spoke I have done nothing on the app. This project is a favour to a charity and all my other projects are fighting for my time.

My real work has been taking me away...
I am also making an amateur movie and the cast have all been ...
by webba
Wed Jul 30, 2003 12:34 pm
Forum: Coding Questions
Topic: Refresh 2d drawings
Replies: 7
Views: 2624

Flype,

Thanks for your continued interest in my project!

Yes the dattimepicker is an activex - but that's not the reason I can't use it. I've worked with it before in VB and I remember the different modes it works in. It is a picker not a displayer of data.

I am slightly familiar with the ...
by webba
Mon Jul 28, 2003 4:14 pm
Forum: Coding Questions
Topic: Refresh 2d drawings
Replies: 7
Views: 2624

Flype,

Thanks for the WindowCallBack routine! It works a treat!

I didn't try the other code you supplied - I looked over it and, after seeing that it uses the datetimepicker control, decided it wouldn't give me the flexibility I need.

My calendar must only show Sunday's and have some other very ...
by webba
Mon Jul 28, 2003 12:14 pm
Forum: Coding Questions
Topic: Refresh 2d drawings
Replies: 7
Views: 2624

Refresh 2d drawings

Hi all!

I wonder if anyone has done what I'm trying to do...?

I have an app partly developed that needs a very specific calendar type object. The kind of thing you would probably make as an activex in VB. Since I dont want the bloat of a VB activex, I'm trying to draw the control elements onto a ...