Jump to content

UniCheckListbox C++ Error


akr

Recommended Posts

Hi,

 

I am using 1531 Trial. Those 2 lines dont seem to work. Any ideas?

 

    int i = UniCheckListBox1->Items->Add("Hallo");
    UniCheckListBox1->Selected = true;

Gives an Ajax error:

 

HFQPQGS.png

The form

object MainForm: TMainForm
  Left = 0
  Top = 0
  ClientHeight = 411
  ClientWidth = 852
  Caption = 'MainForm'
  OldCreateOrder = False
  MonitoredKeys.Keys = <>
  OnAjaxEvent = UniFormAjaxEvent
  PixelsPerInch = 96
  TextHeight = 13
  object UniMemo1: TUniMemo
    Left = 192
    Top = 24
    Width = 449
    Height = 169
    Hint = ''
    Lines.Strings = (
      'UniMemo1')
    TabOrder = 0
  end
  object UniCheckListBox1: TUniCheckListBox
    Left = 360
    Top = 256
    Width = 121
    Height = 97
    Hint = ''
    TabOrder = 1
    ReadOnly = False
    TrackOver = True
  end
end

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...