Q7B IDE - can't set focus to a Sub in module

Please report bugs.

Q7B IDE - can't set focus to a Sub in module

Postby blatman » Sun Aug 19, 2012 12:18 pm

Basic for QT 4.8.0 - Win XP SP3 on VirtualBox 4.1.18 on OSX 10.6.8
Whilst working on a module page in the IDE I found I couldn't always jump the focus to a Sub in the Sub button list.
There appears to be a limitation on the length of page.

eg:
Module IDE Sub button shows Subs (3)

Line 1 Sub1()
' these lines can be empty
Line 2145 End Sub

Line 2147 Sub2() ' positioned at line 2147 there will be a Sub separating line displayed
' these lines can be empty
Line 2160 End Sub

Line 2165 Sub3() ' cannot gain focus by using IDE Sub button

Line 2180 End Sub

If Sub2() is chosen from the Sub button list in the IDE Sub2() will gain focus in the page but if the Sub2() is moved to line 2148 the separating line will disappear and Sub2() and all successive Subs will not be able to take focus using the IDE Sub button list

Cheers.
blatman
 
Posts: 49
Joined: Mon Jul 16, 2012 12:33 pm
Location: UK

Re: Q7B IDE - can't set focus to a Sub in module

Postby Slowdown » Sun Aug 19, 2012 3:11 pm

confirmed.
But a sub of 2144 lines is not a sub but a complete program :D
Limit here is 2140 lines.
Kind regards,
Slowdown

OSX 10.8.x, VBox Xp, Ubuntu 32/64 bit, EOS 64 bit
Slowdown
 
Posts: 464
Joined: Sat May 01, 2010 7:11 pm
Location: Netherlands

Re: Q7B IDE - can't set focus to a Sub in module

Postby blatman » Sun Aug 19, 2012 3:42 pm

Hi Slowdown,

yes, the example is rather big for a Sub - I reduced the number of Subs in the Module page to ensure that was not an issue but the original Module where I encountered the problem had about 46 smaller Subs in it and I hit the problem at about Sub32() which happened to be just after Line 2147.

Cheers.
blatman
 
Posts: 49
Joined: Mon Jul 16, 2012 12:33 pm
Location: UK

Re: Q7B IDE - can't set focus to a Sub in module

Postby berndnoetscher » Tue Aug 21, 2012 6:57 am

Thanks I will take a look into it the next days...
berndnoetscher
Site Admin
 
Posts: 344
Joined: Thu Mar 25, 2010 9:57 am


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest

cron