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

Inform

 [1/11] from: ptretter:charter at: 10-Nov-2001 17:17


Are their any bugs in inform that I should be aware of? I got a script that does an inform on a face and which does a request-file function but the function returns none everytime. However, view/new instead of inform works just fine. Paul Tretter

 [2/11] from: philb:upnaway at: 11-Nov-2001 7:47


Hi Paul, Are you using nested dalog boxes?? This causes inform to not work correctly. Cheers Phil === Original Message === Are their any bugs in inform that I should be aware of? I got a script that does an inform on a face and which does a request-file function but the function returns none everytime. However, view/new instead of inform works just fine. Paul Tretter

 [3/11] from: allenk:powerup:au at: 11-Nov-2001 10:18


Hi Paul, Basically inform is modal and the general rule is you don't open another window when you have a modal windw open. Cheers, Allen K ----- Original Message ----- From: "Paul Tretter" <[ptretter--charter--net]> To: <[rebol-list--rebol--com]> Sent: Sunday, November 11, 2001 9:17 AM Subject: [REBOL] Inform
> Are their any bugs in inform that I should be aware of? I got a script
that does an inform on a face and which does a request-file function but the function returns none everytime. However, view/new instead of inform works just fine.

 [4/11] from: ptretter:charter at: 10-Nov-2001 21:26


And modal means? Paul Tretter

 [5/11] from: tomc:darkwing:uoregon at: 10-Nov-2001 19:49


the issue in the modal window need to be addressed and the modal window closed before you do anything else. or something like _do_not_change_the_subject_ On Sat, 10 Nov 2001, Paul Tretter wrote:

 [6/11] from: ptretter:charter at: 10-Nov-2001 22:18


hmmm... is there away to get around closing the other window. For example. I am doing an inform on a face which has a button which activates a request-file dialogue (another face) which returns to the previous window after the file selection is made. Paul Tretter

 [7/11] from: nitsch-lists:netcologne at: 11-Nov-2001 5:55


RE: [REBOL] Re: Inform [ptretter--charter--net] wrote:
> And modal means? >
while it is visible, other faces gets no user-input its shown with 'show-popup, needs to be hidden with 'hide-popup and more than one at a time confuses rebol. view a layout, inform another and type in the first: if it works its a rebol-bug. -Volker

 [8/11] from: ptretter:charter at: 10-Nov-2001 23:43


I think I found a way around this. I looked at the source for inform and just decided to do this instead on my 'face: view/offset face (system/view/screen-face/size - face/size / 2) Bingo! I got the inform feature I wanted. Paul Tretter

 [9/11] from: allenk:powerup:au at: 11-Nov-2001 22:04


----- Original Message ----- From: "Paul Tretter" <[ptretter--charter--net]> To: <[rebol-list--rebol--com]> Sent: Sunday, November 11, 2001 3:43 PM Subject: [REBOL] Re: Inform
> I think I found a way around this. I looked at the source for inform and > just decided to do this instead on my 'face: > > view/offset face (system/view/screen-face/size - face/size / 2) > > Bingo! I got the inform feature I wanted. > > Paul Tretter
Paul, Did you just need to center a face? You can center-face for that. USAGE: CENTER-FACE obj /with face DESCRIPTION: Center a face on screen or relative to another face. CENTER-FACE is a function value. ARGUMENTS: obj -- (Type: object) REFINEMENTS: /with -- Center relative to a face. face -- (Type: object) Cheers, Allen K

 [10/11] from: ptretter:charter at: 11-Nov-2001 7:24


Thanks Allen. I actually tried that once and it gave me an error. Now it is working. I think I just replaced the word 'inform in my script with 'center-face instead of view center-face 'face. Paul Tretter

 [11/11] from: ptretter:charter at: 12-Nov-2001 15:34


Ok. Back to Inform. Does anyone know why we even need inform when we got center-face? Is there a purpose here that I don't understand. Paul Tretter