Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Thread Tools Display Modes
Old 09-13-2017, 01:41 PM
Rei Rei is offline
Junior Member
Join Date: Sep 2017
Posts: 1
Default ListBox e Input

I'm starting now with Delphi and so I do not even know basic things.

I build two Listboxes, and for each view that one of them is selected I would like to open a different input, something like this:

HTML Code:

<<First option selection ListBox1>>

n:=inputBox('Enter 1', 'n');




<<Second option select ListBox1 >>

n:=inputBox('Enter 2', 'n')



How can I make it work, which command should I use?
Reply With Quote
Old 09-14-2017, 03:05 PM
Norrit Norrit is offline
Join Date: Aug 2001
Location: Landgraaf
Posts: 7,305

I really have no idea what you're after.

An if-construction without validating on anything?
An inputBox function which returns something, and what is 'n'?

Explain what you're after.

I personally don't like the ListBox, I would use a ListView.

As for the matter, what you've written doesn't look like Delphi. Try something and post the Delphi code with the things that go wrong. Perhaps that makes your question more readable
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT. The time now is 08:00 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2018, vBulletin Solutions, Inc.