I have question about DropDown relationship with other dropdown. How I can do that in "Subcategory" dropdown values will change depends on what Category is selected ?
Here is my dialog example:
I need for every category selected, different subcategory list will be shown.
Waiting for help

Dialog>Dialog1
object Dialog1: TForm
Left = 247
Top = 97
HelpContext = 5000
BorderIcons = [biSystemMenu]
Caption = 'CustomDialog'
ClientHeight = 211
ClientWidth = 431
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = True
ShowHint = True
OnTaskBar = False
PixelsPerInch = 96
TextHeight = 13
object Category: tMSComboBox
Left = 25
Top = 27
Width = 145
Height = 21
ItemHeight = 13
TabOrder = 8
Text = 'Category'
end
object Subcategory: tMSComboBox
Left = 210
Top = 27
Width = 145
Height = 21
ItemHeight = 13
TabOrder = 9
Text = 'Subcategory'
end
object comment: TEdit
Left = 58
Top = 67
Width = 279
Height = 62
TabOrder = 10
Text = 'comment'
end
object ok: tMSButton
Left = 90
Top = 146
Width = 75
Height = 25
Caption = 'ok'
DoubleBuffered = True
ParentDoubleBuffered = False
TabOrder = 11
DoBrowse = False
BrowseStyle = fbOpen
end
object cancel: tMSButton
Left = 230
Top = 145
Width = 75
Height = 25
Caption = 'cancel'
DoubleBuffered = True
ParentDoubleBuffered = False
TabOrder = 12
DoBrowse = False
BrowseStyle = fbOpen
end
end
EndDialog>Dialog1
Show>dialog1,r