![]() |
control names |
Post Reply ![]() |
Author | |
fc41 ![]() Newbie ![]() Joined: 05 July 2008 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() Posted: 07 July 2008 at 5:23am |
i need to change cj control names.
cos combobox and checkbox duplicate vb control names. is it possible to change? |
|
![]() |
|
ijwelch ![]() Senior Member ![]() Joined: 20 June 2006 Status: Offline Points: 262 |
![]() ![]() ![]() ![]() ![]() |
I don't think you can.
You don't need to though. e.g. Dim obj1 As XtremeSuiteControls.ComboBox Dim obj2 As VB.ComboBox |
|
![]() |
|
fc41 ![]() Newbie ![]() Joined: 05 July 2008 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
u r the man
![]() |
|
Vb6Sp6
|
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
Hi,
There are a few posts about this and why you have to add the library name now?
Can someone explain to me why...
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
![]() |
|
Lodep59 ![]() Senior Member ![]() ![]() Joined: 03 April 2008 Status: Offline Points: 203 |
![]() ![]() ![]() ![]() ![]() |
Hi Aaron,
Did you ever try to add a CJ Treeview on a project with existing MSComctl components ?
If you wrote some subs like this :
Public Sub FillTreeView(TV As TreeView)
for vb, "TV" is common control treview and not a CJ Treeview. Attributes and members are not the same and on compilation, vb says "Type Mismatch" (think it's the error message in english, error code = 13).
In this case, you have to change the declaration :
Public Sub FillTreeView(TV As XtremeSuiteControls.TreeView)
That's why, for me, it's very important to add the Library Name before the control type on the code.
Hope this help (and that i understand your question
![]() Regards,
|
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Thanks for reply.
No I don't use CJ Suite controls, I'm using only MS controls
![]() SuperMario set me on the wrong foot by saying that VB should not get confused with the labels (MS/CJ). But it's the same thing with MS Treeview (MSCOMCTL / COMCTL32). This will remind me if I'm going to use CJ controls that I always have to add the library name
![]() |
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |