Search found 67 matches

by manumart1
Mon Jun 15, 2015 2:25 pm
Forum: GUI problems
Topic: Writing a continuous line inside a text model
Replies: 1
Views: 14092

Writing a continuous line inside a text model

To draw a continuous line I tried to use the char "─" (push the Alt key and then type the number 2500 or 196). This is the unicode character U+2500. See http://www.fileformat.info/info/unicode/char/2500/index.htm . This char is encoded in UTF-8 using 3 bytes "E2 94 80". When I ty...
by manumart1
Wed May 27, 2015 7:15 am
Forum: Common questions
Topic: Opening a Document
Replies: 6
Views: 15959

Re: Opening a Document

Lack of orthogonality. OpenAux takes a "title" parameter but OpenView does not. Also, I noted a difference in the persistence of the model shown in the window (view) opened. If I open a window via OpenView and modify some text, then when I try to close it I am asked to save the changes. B...
by manumart1
Tue May 26, 2015 6:49 pm
Forum: Common questions
Topic: Opening a Document
Replies: 6
Views: 15959

Re: Opening a Document

... PS - How do you get the "Quote" tags to work properly? To reply you can push the button "Post reply" or "quote". In either case the editor is opened, but it is empty if "Post reply". If you pushed "quote" then the entire message you wanted to qu...
by manumart1
Tue May 26, 2015 6:39 am
Forum: Common questions
Topic: Opening a Document
Replies: 6
Views: 15959

Re: Opening a Document

I use this piece of code to open a window that shows a text (document) so that document's width is equal to window's width: md: TextModels.Model; vw: TextViews.View; cr: Containers.Controller; prop: Properties.BoundsPref; vw := TextViews.dir.New(md); cr := vw.ThisController(); cr.SetOpts(cr.opts + {...
by manumart1
Sat Apr 11, 2015 6:07 pm
Forum: Common questions
Topic: How to use drag & pick in Ubuntu Wine?
Replies: 3
Views: 5533

Re: How to use drag & pick in Ubuntu Wine?

If your desktop environment is KDE, do Configure Desktop (System Settings) - Window Behavior; see attached image.
I suppose in GNOME there exists a similar method.
Regards
by manumart1
Wed Mar 25, 2015 11:53 am
Forum: BlackBox Framework
Topic: Function Trim to remove spaces
Replies: 3
Views: 6902

Re: Function Trim to remove spaces

Thank you, Chris.
I did not know about the subsystem Opal of BlackBox nor the POW! development environment.
by manumart1
Tue Mar 24, 2015 9:28 am
Forum: BlackBox Framework
Topic: Function Trim to remove spaces
Replies: 3
Views: 6902

Function Trim to remove spaces

I miss a function Trim to remove leading and trailing spaces inside an array of chars. I haven't found it. I think it is a general utility function to process the input from the user, and worth to be somewhere, perhaps is module String, instead of everybody having to write his own version. Here is m...
by manumart1
Mon Mar 16, 2015 4:45 pm
Forum: GUI problems
Topic: How to detect the close of form window
Replies: 3
Views: 14592

Re: How to detect the close of form window

For my problem it is enough to use an Anchor control. That control offers two functionalities: Alert to the user when he tries to close the window (and the module decides that the message is relevant, putting TRUE in par.disabled via Guard). Notify the module when the window is being closed (no oppo...
by manumart1
Fri Mar 13, 2015 1:40 pm
Forum: GUI problems
Topic: How to detect the close of form window
Replies: 3
Views: 14592

Re: How to detect the close of form window

Many thanks, Chris. I will look at your attached code, it seems very interesting. Finally, I found a way to detect the closing of the window. It is explained in Sql Developer Manual (Sql/Docu/Dev-Man), paragraphs Determining whether the window should be closed and Cleaning up when the window is clos...
by manumart1
Fri Mar 13, 2015 12:38 pm
Forum: GUI problems
Topic: How to detect the close of form window
Replies: 3
Views: 14592

How to detect the close of form window

Is it possible to detect the event "the user closing the window of a form" (red X in upper right corner)? I would like to cleanup variables of the module (they may have many information not needed anymore). When the user open the form again I initialize variables via menu: "StdCmds.Op...