Koda

Welcome to Koda bug tracker!

At the moment you can post bugreports or suggestions anonymously. But registered users have some benefits: attaching files, commenting, voting, tracking tasks e.t.c.

Due some asshole started spamming tracker, now (at least for some time) it’s not allowed to create anonymous tasks. Sorry for unconvenience.

In edit fields you can use DokuWiki syntax for formatting.

Tasklist

FS#298 - Styles dialogs suggestions

Attached to Project: Koda
Opened by Chris Haslam (c.haslam) - Friday, 17 June 2011, 06:49 GMT+3
Type Bug Report
Category Application
Status Unconfirmed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

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.

This task depends upon

Comment by Chris Haslam (c.haslam) - Friday, 17 June 2011, 23:35 GMT+3

Fixed bug in Label*.au3

Comment by Chris Haslam (c.haslam) - Thursday, 23 June 2011, 17:34 GMT+3

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!

Comment by Chris Haslam (c.haslam) - Friday, 02 September 2011, 21:43 GMT+3

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.

Comment by Chris Haslam (c.haslam) - Thursday, 08 September 2011, 17:39 GMT+3

IP Address style dialog script now available.

Loading...