Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Bug Reports
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Bug Reports Post about errors or bugs encountered.


TreeView.Control


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-29-2007, 12:50 PM
dzt's Avatar
dzt dzt is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: Greece
Posts: 353
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default TreeView.Control

Hi,

TreeView.Control running code inside the IDE references to the TreeView Control as it should do.

But when compiling the same code and running it from the executable. TreeView.Control is NULL (for an empty TreeView), or references to the last added node.

To reproduce the bug try to change parent to a TreeView using FormLib.

Thanks for your time
__________________
Dimitris Zacharakis
http://www.terracom.gr
Reply With Quote
  #2 (permalink)  
Old 08-29-2007, 01:12 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,752
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Hi dzt

Are you trying to do what I was just pondering about? That is to hook the base controls of B4PPC objects exposed by their Control property.

If so - great, if not then please think about it.
Reply With Quote
  #3 (permalink)  
Old 08-29-2007, 01:19 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,185
Default

This is a bug in the TreeView library (it will also appear in other controls libraries).
The use of the reserved keyword Control confuses the parser.
I will soon create a new library: ControlLib that will include all the controls libraries and will fix this problem too.
Thank you for finding and reporting it.
Reply With Quote
  #4 (permalink)  
Old 08-29-2007, 02:05 PM
dzt's Avatar
dzt dzt is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: Greece
Posts: 353
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Quote:
Originally Posted by agraham View Post
Hi dzt

Are you trying to do what I was just pondering about? That is to hook the base controls of B4PPC objects exposed by their Control property.

If so - great, if not then please think about it.
Hi agraham,

I was trying to do exactly this.


@Erel

Thanks,

No hurry
__________________
Dimitris Zacharakis
http://www.terracom.gr
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
TreeView Editing Cableguy Questions & Help Needed 1 07-13-2008 10:36 PM
Bug in TreeView.dll/ControlsEx.dll? specci48 Bug Reports 4 09-26-2007 03:45 PM
TreeView event magi6162 Questions & Help Needed 3 08-29-2007 11:29 AM
Treeview - different pics for nodes? token Questions & Help Needed 4 07-15-2007 06:31 AM
TreeView SelectedImageIndex adukes Questions & Help Needed 3 06-27-2007 07:58 PM


All times are GMT. The time now is 02:56 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0