SRL Archive - FAQ

Forms, and other questions


Bad Boy JH

2011-01-16 03:16:31

Because I am now looking for work, I thought I would expand on a game project I did for school, which used SCAR, and create a fully working board game (think monopoly) with a fully functioning AI, that challenge later.

Q1. Forms have a TComboBox, where you can select an item, or type one in, is there one which you can only select one?

Q2. TImages, is there a function to rotate the image?

Q3. TIMages, how do I put an image in there, I used CopyCanvas in SCAR, which doesn't exist in Simba

Q4. TLabel, can I change the orientation of the text? (ie have it going up the page).

Q5. When my form loads, its too big for my screen, (its 1200x1200) and its not offering a scroll bar. I tried using the property 'VERTSCROLLBAR' but when I try and use create or change Visible, it just says Compiling failed, with no explanation.

Q6. Why won't WordWrap work propely…

possibly more questions later. Yes I know I need a small snippit of code from SRL to get forms to work, yes I know where it is. Yes you guys will get full credit for Simba and the stuff that makes forms work.