[futurebasic] Re: [FB] [FB^3] Other lists?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 1999 : Group Archive : Group : All Groups

From: Mark Goodes <mgoodes@...>
Date: Thu, 23 Sep 1999 21:03:05 -0500
I wonder if you could write a function to solve for this problem.  Something
along these lines:
- get the dialog but don't show it
- loop through the items in the dialog
---if a text item, get the text, then its length, then set its rectangle to be
of sufficient width
---keep track of the rightmost coordinate that is used by a rectangle
- if the rightmost rectangle goes off the window then size and center the
dialog appropriately
- bingo -- show the dialog.

It would still take some organizing in ResEdit to account for the variable
size of the text boxes.  But it might save time in the long run.

Mark

Joe Lewis Wilkins wrote:

> Chris Stasny wrote:
>
> snip
> <One is for the European localizers. It is a group of folks that are
> <translating the manuals and giving me feedback on lots of things like:
> <German text doesn't fit in the dialog box where I put English text.
> snip
>
> If you've ever wondered why there is so much space in some of the various
> program Dialogs, it is allowing for this very problem. Spanish will be even
> worse than German - I suspect.
>
> Sixto - I'm snowed right this minute. Will be back to you soon.
>
> Joe Wilkins
>
> --
> To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>