Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Checkbox caption
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Checkbox caption

 Post Reply Post Reply
Author
Message
JvdH View Drop Down
Groupie
Groupie


Joined: 09 May 2008
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote JvdH Quote  Post ReplyReply Direct Link To This Post Topic: Checkbox caption
    Posted: 01 December 2009 at 3:03pm
Hello,
 
Does anyone have a clue why the code at the botton aint working for the CJ checkboxes?
It is working for the CJ PushButton and for the default VB6 checkboxes.
 
Hope someone can help me out.
Thank you
 
Sub SetLanguage(frmForm As Form)
Dim ctl As control
    For Each ctl In frmForm.Controls

If TypeOf ctl Is PushButton Then _
    ctl.Caption = ReadINIFile(App.Path & "\Language.ini", frmForm.Name, ctl.Name, "")

If TypeOf ctl Is CheckBox Then _
    ctl.Caption = ReadINIFile(App.Path & "\Language.ini", frmForm.Name, ctl.Name, "")

Next ctl
End Sub

Private Sub Form1_Load()
          SetLanguage Me
End Sub
 
Greetings, JvdH
Product: Xtreme SuitePro (ActiveX) version 13.2.1
Platform: Windows 7 (64bit)
Language: Visual Basic 6.0 SP6
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 02 December 2009 at 4:48am

Hi,

Try "XtremeSuiteControls.CheckBox" intead.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
JvdH View Drop Down
Groupie
Groupie


Joined: 09 May 2008
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote JvdH Quote  Post ReplyReply Direct Link To This Post Posted: 02 December 2009 at 4:10pm
Originally posted by oleg oleg wrote:

Hi,

Try "XtremeSuiteControls.CheckBox" intead.
Works great.
Thanks m8.
Product: Xtreme SuitePro (ActiveX) version 13.2.1
Platform: Windows 7 (64bit)
Language: Visual Basic 6.0 SP6
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.