Delphi Personal Tutorial... Help!

Status
Not open for further replies.

.mobius

Ars Scholae Palatinae
1,139
OK, so I'm looking at how cool CoolInfo--excuse me, ARSIANS--is, and I'm looking at VB, and how little I liked it, so I figured I'd give Delphi a try. I already have an idea for my piece of ArsWare, and so now all I need to do is learn the language ;).

I've installed everything, and I start running through the tutorial, and I get 100% stuck at adding an Action Manager component. I can't for the life of me find one of these thingies, so I add an Action List instead. All goes well, I think, up till the next step.

The tutorial tells me to open 'Delphi6\Source\Vcl\ActnRes.pas' to add images to my image list. I don't have an ActnRes.pas, though, so I'm sticking again. I skip this step, and continue on.

Next step has me adding an ActionMainMenuBar component. I don't have one of these either, and the MenuBar component doesn't act at all like they describe for the longer-winded one.

Hmmmmm. Is the Tutorial, contrary to statement, not for all versions of Delphi? Or am I missing something blatant and unforgivable?

If it turns out that this is a limitation in the trial version, then can someone point me to a tutorial for personal Delphi? I really like the IDE and many of the concepts so far, and I think I can get a hang of the language, but a good tutorial/explanation of the basics would be ever-so-helpful.

So, you Delphi gurus, if you can give me a quick explanation on what's going on, I'd be much obliged :).

Thanks.


(.mobius)
 

rogersba

Seniorius Lurkius
36
Originally posted by .mobius:

The tutorial tells me to open 'Delphi6\Source\Vcl\ActnRes.pas' to add images to my image list. I don't have an ActnRes.pas, though, so I'm sticking again.

<scratches head>

Hmmm.... I'm not sure offhand what ActnRes.pas has in it that would help you add images to a list. Shouldn't you just be using TImageList.Add? Can you explain more about what you're trying to accomplish?

<...wanders off to install D6 in a VM...>
 

DaisyMan

Ars Tribunus Militum
2,135
I'm guessing that your tutorial wanted you to open the ActnRes source file to grab the image list containing the pictures related to the "standard" actions which Delphi ships with, such as Cut, Copy, Paste, etc. It shouldn't be that critical though, and you can always get images elsewhere to fill in your own image list.

The Personal edition doesn't contain some of the less-standard components, and I'm guessing the ActionXXX stuff may be amongst them. If you really want to try them out, you can always grab the 60-day Enterprise Edition Trial, though I can tell you from experience that it has other "limitations" (60-day cripple applies to the apps it creates as well). The EET also doesn't have the source code files, so I don't know if you'll be able to find ActnRes.pas even if you do go that route.
 

.mobius

Ars Scholae Palatinae
1,139
Well, honestly, I haven't the slightest idea what this step is supposed to do. I gathered from the tutorial that it's supposed to put in images beside the menu items. I don't know any of the details, though, since I'm so new with Delphi, and I don't even know how to make menus, or if I have, how to put them on the form. I have this thing called the Action List, which I think is supposed to make menus/common program features found in menus for you (?), but I don't know how to implement it completely.

I think that I'll get it all working with enough screwing around, but I don't want to miss anything very important/timesaving.

I'm not at my computer now, but when I get home, I'll play around more, and if I find anything out, I'll post.

Thanks.


(.mobius)
 

Longtime Lurker

Ars Scholae Palatinae
842
Originally posted by GrimLock:
It was made for Delphi 4, but not much has changed since and it helps a lot.
I read somewhere else recently that Delphi 4 was fairly similar to Delphi 6, at least from the initial learning perspective. I think it said that "Mastering Delphi 4" was a better book to start with than "Mastering Delphi 5" (I guess 6 isn't out yet.) Anyone have knowledge about those books as far as tutorials/learning are concerned?
 
Status
Not open for further replies.