View Single Post
  #1 (permalink)  
Old 02-23-2008, 07:37 AM
fmwyso fmwyso is offline
Newbie
 
Join Date: Feb 2008
Posts: 3
Rep Power: 0
fmwyso is on a distinguished road
Default Some Questions :P.

Hey, i am always asked tons of questions from friends whenever i tell them about Delphi. And i was wondering if anyone could give me the answers so i can know and tell them ....

-- Is it low level programming? If so, how low is it :P.
-- Can it actually be used for a career?

Now to my real question :P... I need some help on Delphi...

FIRST QUESTION

I have never been able to sucessfully load tstrings for some reason... And i need it because i'm trying to access a ini.readsectionvalues. It always says, "abstract error".

Here is an example...

Code:
procedure TForm1.Button1Click(Sender: TObject);
var
strngs: tstrings;
begin
strngs := tstrings.Create;
strngs.Add('Test');
Label1.Caption := strngs.Strings[1];
strngs.free;
end;

end.
-- I'm perfectly fine with using a different char type, but it needs to be able to have a list and work with tinifile.readsectionvalues().

Second Question

I have it open a popupmenu while they are typing like if they put 'DEF' then it opens a popup and if they click it, it will add 'INE ' to the end. My problem is that i want users to be able to type while the popup is up... For some reason, it stops you from being able to type until you close the popup... Any ways to fix this?

---- Btw, i'm planning on making sort of an IDE for a scripting program. It has several DEFINE variables and FUNCTIONS so i figure it might help to have a listbox saying where they all are... Also gonna add some extra features :P.
Reply With Quote

Sponsored Links