• Status Unconfirmed
  • Percent Complete
  • Task Type Bug Report
  • Category Application
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Development
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Koda
Opened by Chris Haslam - 17.06.2011

FS#298 - Styles dialogs suggestions

I have made some more progress: I have improved the Form dialog, and present the Label dialog for the first time.

I am beginning to think about Pic, Icon and Graphic. Here are my thoughts:

The following SS constants only apply to an image: SS_BITMAP, SS_ICON, SS_REALSIZECONTROL, SS_REALSIZEIMAGE and SS_RIGHTJUST. Which of these does Picture Editor handle? Which does the proposed Styles Editor need to handle?

I have learnt that ControlSetText() can be used to show text in an apparently image-only Static control. So the Styles Editor for Pic, Icon and Graphic could look much the same as that for Label. Would it be identical?

It occurs to me that if Koda will have a Styles Dialog for images that has styles for text, it would make sense to have Code Generator generate the call to ControlSetText().

More thoughts are in the attached readmes.

Chris Haslam commented on 17.06.2011 19:35

Fixed bug in Label*.au3

Chris Haslam commented on 23.06.2011 13:34

I now have scripts working for Form, Label, Edit, Input, Button and Checkbox. I am working on more.

I am not doing too well on generalizing. The functions are settling down to being standard in all scripts.

Of the 600 lines in the Edit script, 200 are specific to Edit. If I put Form and the 5 controls into one script, the script would be about 1400 lines! There are about 20 controls that have styles. So I estimate that to put all the code into one script would make the script 4400 lines! Running it during development would be slow!

Chris Haslam commented on 02.09.2011 17:43

I have styles-dialog scripts working for all the controls except Pic, Image and Icon: these may be handled already by a Koda Editor.

I am thinking that, while I could upload them to BugTracker, you may prefer that I send them to your email address (which I don't have). I am thinking this for version-control reasons: they (or something like them) may become part of Koda, so: for the same reason that you have not released the code for Koda, you may wish to keep the scripts away from the public domain. You (and I) do not want multiple versions confusing support issues.

Do you wish me to email them to you, or to send them as a PM on the Autoit forum?

Let me know.

Chris Haslam commented on 08.09.2011 13:39

IP Address style dialog script now available.


Available keyboard shortcuts


Task Details

Task Editing