Combo Box component in Delphi

  Рет қаралды 13,788

Mr Long Education - IT & CAT

Mr Long Education - IT & CAT

Күн бұрын

Пікірлер: 14
@mahmoudhassan6627
@mahmoudhassan6627 Жыл бұрын
Wonderful wonderful wonderful .. What a method you are following to teach !!! .. Incredible .Fantastic I owe you so much Mr. Long - Regards from Tripoli - Libya Your brother : Mahmoud Hassan
@MrLongITandCAT
@MrLongITandCAT Жыл бұрын
I'm so glad the videos have helped!
@tshepisosiphokazimajola3575
@tshepisosiphokazimajola3575 2 жыл бұрын
thank you this is so helpful
@AaronCrompton-h7i
@AaronCrompton-h7i Жыл бұрын
Hello, is there a way to make the user unable to type text and have the default item selected as 0 or would i have to use a different component?
@manjerolinu2121
@manjerolinu2121 2 жыл бұрын
Hello. Thank you very much for the detailed explanation. But there is a problem that once selected the item is not reset and the last one remains selected. To overcome this problem cmbx.itemindexI=-1; cmbx.text:='Please select..'; But that's more lines of code. How to write more concisely?
@MrLongITandCAT
@MrLongITandCAT 2 жыл бұрын
Not sure what you are asking. You can check to see if an item is selected by using an if statement: if cmbx.ItemIndex = -1 then showmessage('Please select') else begin //do code here for selected item
@dani-wi1ot
@dani-wi1ot 5 ай бұрын
Pls I have a text file and I want some values on the text files to be shown on combobox ..any tips?
@MrLongITandCAT
@MrLongITandCAT 4 ай бұрын
Loop through the text file and add the values to the combobox. var myfile: textfile ; sLine : string ; Begin AssignFile( myfile , 'textfile_name.txt' ) ; Reset( myfile ) ; while NOT eof( myfile ) do begin readln( myfile, sLine ) ; combobox1.Items.Add( sLine ) ; end; CloseFile( myfile ) ;
@daveeeeeeeeeeeeeeeeeeeeeeeeeee
@daveeeeeeeeeeeeeeeeeeeeeeeeeee 2 жыл бұрын
How do you insert multiple options
@adolflinkler8244
@adolflinkler8244 2 жыл бұрын
Delphi would explode
@daveeeeeeeeeeeeeeeeeeeeeeeeeee
@daveeeeeeeeeeeeeeeeeeeeeeeeeee 2 жыл бұрын
@@adolflinkler8244 i exploded
@M.M628
@M.M628 2 ай бұрын
Hello , I have a question for my pat. I want to use the data from a combobox on Form1 on another combobox in Form2. Can someone please help me?
@MrLongITandCAT
@MrLongITandCAT 2 ай бұрын
At the top of form2 you must add the file name of form1 (Unit1 or whatever its name is) under uses. Then you should be able to type sValue := Form1.comboxbox1.value If that doesnt work then try then name of the unit file of form 1 sValue := Unit1.comboxbox1.value
@M.M628
@M.M628 2 ай бұрын
@@MrLongITandCAT thank you!
Trace Tables | Test For Loops with Trace Tables
8:21
Mr Long Education - IT & CAT
Рет қаралды 2,1 М.
List Box component in Delphi
24:11
Mr Long Education - IT & CAT
Рет қаралды 12 М.
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН
Вопрос Ребром - Джиган
43:52
Gazgolder
Рет қаралды 3,8 МЛН
Memo and Rich Edit components in Delphi
16:57
Mr Long Education - IT & CAT
Рет қаралды 19 М.
Date and Time Part 1 - Date and Time in Delphi
14:28
Mr Long Education - IT & CAT
Рет қаралды 17 М.
Power Apps Combo Box DefaultSelectedItems
14:26
Shane Young
Рет қаралды 130 М.
Timer component in Delphi
10:16
Mr Long Education - IT & CAT
Рет қаралды 2,9 М.
Can you crack this beautiful equation? - University exam question
18:39
String Handling in Delphi (part 1) String Functions
14:16
Mr Long Education - IT & CAT
Рет қаралды 38 М.
Conditional Loops Part 1 - While & Repeat Loops
18:48
Mr Long Education - IT & CAT
Рет қаралды 13 М.
Editing Databases in Delphi - Inserting a new record
15:42
Mr Long Education - IT & CAT
Рет қаралды 42 М.
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН