Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Basic4ppc Wishlist > Bug Reports
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Bug Reports Post about errors or bugs encountered.

Mysterious message re "indicator" while Debug

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-28-2010, 01:46 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default Mysterious message re "indicator" while Debug

I got the attached pop-up message from the desktop IDE while debugging the following code:
Code:
Public Sub MoveMenuToForm(formName As String, moduleName As String)
    MainMenuObj.NewMainMenu
    MenuItemObj.ControlRef = MainMenuObj.SavedMenuItem(
0)    'Switch item
    MainMenuObj.AddMenuItem(MenuItemObj.ControlRef)

    index = FormsMenuList.IndexOf(formName)
    
If index > -1 Then
        MenuItemObj.ControlRef = MainMenuObj.SavedMenuItem(index + 
1)
        MainMenuObj.AddMenuItem(MenuItemObj.ControlRef)
    
End If

    MainMenuObj.AddMainMenu(moduleName & 
"." & formName)
End Sub
What is an "indicator"?

(I was trying to find out why the IndexOf() method was not yielding the expected result.)

BTW trying to look up Add() in Basic4ppc - Main Help gives a "missing page" error.

Mike.
Attached Images
File Type: jpg indicatorNot=0.JPG (20.6 KB, 12 views)
Reply With Quote
  #2 (permalink)  
Old 09-02-2010, 06:03 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,714
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Seems like the IDE tried to highlight an empty row for some reason.
Can you reproduce it?
Reply With Quote
  #3 (permalink)  
Old 09-02-2010, 07:29 AM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by Erel View Post
Seems like the IDE tried to highlight an empty row for some reason.
Can you reproduce it?
Hi Erel, sorry, now I've cured my problem with IndexOf() (string case was wrong) I have not seen the problem again.

Regards, Mike.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Catching the "Shift", "right" & "left" keys linum Questions (Windows Mobile) 3 08-21-2009 01:22 PM
calling the device's "Programs" or "settings" screens karmba_a Questions (Windows Mobile) 3 03-15-2009 05:41 PM
"AddEvent" and "buttonUp/buttonDown" Byak@ Questions (Windows Mobile) 12 09-10-2008 03:04 PM
calling the device's "Programs" or "settings" screens HarleyM Questions (Windows Mobile) 0 12-05-2007 02:59 AM
Error message: "Not correct version of dll" BjornF Questions (Windows Mobile) 5 09-17-2007 03:16 PM


All times are GMT. The time now is 04:11 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0