This is an old Dave Batton method:
C_LONGINT($winRef_i;$element_i;$leftOffset_i;$topOffest_i;$width_i;$height_i)
C_TEXT($title_t)
$leftOffset_i:=80
$topOffest_i:=100
$width_i:=800
$height_i:=600
ARRAY LONGINT($windowRefs_ai;0)
$winRef_i:=Frontmost window
While ($winRef_i>0)
$title_t:=Get window title($winRef_i)
If (($title_t="Structure for @")\
| ($title_t="Explorer")\
| ($title_t="Method:@")\
| ($title_t="Form Method:@")\
| ($title_t="Form:@")\
| ($title_t="Trigger:@")\
| ($title_t="Object Method:@"))
APPEND TO ARRAY($windowRefs_ai;$winRef_i)
End if
$winRef_i:=Next window($winRef_i)
End while
For ($element_i;1;Size of array($windowRefs_ai))
SET WINDOW
RECT($leftOffset_i;$topOffest_i;$leftOffset_i+$width_i;$topOffest_i+$height_i;$windowRefs_ai{$element_i})
End for
Regards,
Wayne
Wayne Stewart
about.me/waynestewart
On 5 September 2016 at 10:28, Keisuke Miyako <[email protected]> wrote:
> downloaded "HDI" examples tend to have windows prepositioned all over the
> place in design mode,
> so I doubt the information is recorded locally. (I work with a 12in laptop,
> so it really annoys me)
>
> compressing the structure doesn't help.
>
> other than rolling out your own, you could give a try at "4D Pop Window".
>
>
> 宮古 啓介
> セールス・エンジニア
>
> 株式会社フォーディー・ジャパン
> 〒150-0043
> 東京都渋谷区道玄坂1-10-2 渋谷THビル6F
> Tel: 03-6427-8441
> Fax: 03-6427-8449
>
> [email protected]
> www.4D.com/JP
>
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ: http://lists.4d.com/faqnug.html
> Archive: http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub: mailto:[email protected]
> **********************************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************