Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

how to offset position of window?

 [1/6] from: slok00:yaho:o at: 27-Apr-2001 1:22


under windows, the task bar can be shifted to various side of the screen. if I have a simple code as follows: === view layout [ Name "hello" text-list data read %. button "OK" ] === how can I offset it, say from the top if my task bar is on the top of the screen and not at the bottom as default. maybe we should have it built-in as a default behaviour to offset it base on position of task bar. YekSoon

 [2/6] from: gchiu:compkarori at: 27-Apr-2001 20:47


> view layout [ > Name "hello" > text-list data read %. > button "OK" > ]
I don't know the answer, but ... view center-face layout [ .. ] will center your layout -- Graham Chiu

 [3/6] from: petr:krenzelok:trz:cz at: 27-Apr-2001 11:23


Lok Yek Soon wrote:
> under windows, the task bar can be shifted to > various side of the screen.
<<quoted lines omitted: 8>>
> is on the top of the screen and not at the bottom as > default.
That's also why I suggested 'maximise as alternative value for 'view function 'option block on Windows View platform. I also really don't understand default View desktop offset of some xx pixels from the left side of the window, and I have to manually press maximise button each time I start View. There is really no purpose for it and it can't be even changed by manual hacking of prefs.r file and setting 'window-offset item to 0x0 ... -pekr-

 [4/6] from: al:bri:xtra at: 27-Apr-2001 21:55


pekr wrote:
> I also really don't understand default View desktop offset of some xx
pixels from the left side of the window, and I have to manually press maximise button each time I start View. There is really no purpose for it and it can't be even changed by manual hacking of prefs.r file and setting 'window-offset item to 0x0 ... I, like, totally agree. It's a feature that will turn off customers, I feel. Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/

 [5/6] from: petr:krenzelok:trz:cz at: 27-Apr-2001 12:19


Andrew Martin wrote:
> pekr wrote: > > I also really don't understand default View desktop offset of some xx
<<quoted lines omitted: 3>>
> 'window-offset item to 0x0 ... > I, like, totally agree. It's a feature that will turn off customers, I feel.
What is more, IIRC, it was introduced at some later phase of testing of /Express and someone from RT backed up the solution as it allows to move window. In fact - I regard the feature as annoying and contraproductive, as you can ALWAYS move your window, even if it takes whole desktop size, if not maximised. Once you look at the middle button at right top of window, you can still see it is not maximised. Look also at following code result: view layout/size/offset [button "unview" [unview/all]] system/View/screen-face/size 10x10 as you will see, maximise button is not highlighted. Carl, Holger - could default desktop off-set be removed or at least - what about possibility to "save" desktop window position thru user settings? Thanks, -pekr-

 [6/6] from: jelinem1::nationwide::com at: 27-Apr-2001 8:20


OMG! This one word is what I have been yearning for for a long time! Thanks! While writing to the list, I've wanted to say for awhile that I started with view when it was in beta (open beta) and had tried my best (putting in alot of time) to write a "simple" program to keep a checkbook: add, update and delete a list of checks. The documentation was skeletal; I ended up figuring out much of what I needed by hacking through the VID objects. I was not happy with my workarounds, and finally got hung up on how to delete a record from the list. Praise Carl and RT for REBOL/View 1.1! I actually hesitated to download it because of my earlier disappointments, but now that I have it I've found it to be as easy as I demand it to be. I've returned to my checkbook program and replaced the ugly, non-working list code with sleek text-list code which works! I've also revisited another project I started and gave up on cause it took too much time, which is actually intergrated in to my work. Soon it will be complete and I'll be able to show it off to my co-workers! Ok, so I could have used 'list to do the same thing, but I don't think using 'list "makes simple tasks simple". Now, I've virtually left my old love, REBOL/Core, for a new romance: REBOL/View! And I know that there are all kinds of new cool words that I don't even know about yet 'cause I keep seeing them pop up in emails on this list, so keep 'em coming! - Michael Jelinek BTW Of course it is amazing at the speed of releases and number of platforms available for such a small group of people. However if you've ever seen Carl it's understandable as he visibly radiates energy and enthusiasm. It was obvious at the Sacramento Amiga fair-thingie a few years back how much he loved his work. He's made me a believer! Oh, and I have been a BASIC programmer at heart also for many years. Really really liked AMOS/Pro for the Amiga. Actually, that's what my last incarnation of the checkbook program was written in. Graham Chiu <[gchiu--compkarori--co--nz]>@rebol.com on 04/27/2001 03:47:55 AM From: "Graham Chiu" <[gchiu--compkarori--co--nz]>@rebol.com on 04/27/2001 03:47 AM Please respond to [rebol-list--rebol--com] Sent by: [rebol-bounce--rebol--com] To: [rebol-list--rebol--com] cc: Subject: [REBOL] Re: how to offset position of window?
> view layout [ > Name "hello" > text-list data read %. > button "OK" > ]
I don't know the answer, but ... view center-face layout [ .. ] will center your layout -- Graham Chiu

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted