Thanks Fabien,
I forgot that I did a little cleanup/re-org before the upgrade and moved the
projects.
The links in ~/.local/lib/gambas2 still existed and therefore pointed to a
non-existent place. Simply deleting them and re-making the exec's fixed it
all up!
Also, sorry for the delay in
I have a module called env that holds three system wide objects
(CurrentUser, CurrentProject, CurrentSystem). Lots of forms access and use
these objects (Login, FMain etc etc).
I am trying to signal an unknown number of listeners when one of these
objects changes, for example is the user
Hi Benoit,
Benoît Minisini wrote:
If CurrentUser, CurrentProject and CurrentSystem are the objects that
change,
then they should raise the events, not the module where they are declared.
Shouldn't they? An event is the way an object tells the world it has
changed.
If you can't, then
Hi guys,
Just did a system upgrade which required a gambas re-installation (due to
postgresql upgrade dependencies). This was fine, but...
All my user built components seem to have disappeared. Oh well, so it goes,
so I just tried to recompile them i.e. make executable.
So far, I have
Is there a way for a specialised class to have an event handler for an event
raised in the base class?
Specifically in this case I have a scaffolding class workCodeTableItem
that inherits CodeTableItem, adds a few scaffold attributes and I have now
found that one of these attributes needs to be
Benoît Minisini wrote:
Is there a way for a specialised class to have an event handler for an
event raised in the base class?
Specifically in this case I have a scaffolding class workCodeTableItem
that inherits CodeTableItem, adds a few scaffold attributes and I have
now found that
bbb888 wrote:
In this form I have
- several misc controls
- a textarea
- a frame (with several checkboxes and buttons)
- a listview
in that order in the heirarchy.
In certain conditions, the first item in the frame has it's Enabled
property set to false.
When this happens and I
nospam.nospam.nospam wrote:
You'd be saying exactly the opposite if gambas was badly designed and
didn't
generate the event on a coded change when you needed it to. You would have
no way in hell of easily detecting it, not ever. Besides that, firing
events
for code-set attributes
Benoit,
Why oh why should setting checkbox value in code generate a click event?
bruce
--
View this message in context:
http://old.nabble.com/Setting-a-checkbox-value-tp26455936p26455936.html
Sent from the gambas-user mailing list archive at Nabble.com.
Amended. Thank you for so gently pointing out my error.
b
nospam.nospam.nospam wrote:
bbb888 wrote:
snip all
Try setting .type as the last assignment, don't know, works for me in
postgresql. It seems that as soon as you give it a type and host and
user postgresql makes a connect
Thanks Shordi,
Amazingly obvious now I have the answer :clap:
bruce
--
View this message in context:
http://old.nabble.com/Howto%3A-Cancel-a-keypress-in-a-textarea-tp26422301p26443625.html
Sent from the gambas-user mailing list archive at Nabble.com.
snip all
Try setting .type as the last assignment, don't know, works for me in
postgresql. It seems that as soon as you give it a type and host and user
postgresql makes a connect. Anyway, as I said, dont know works for me.
b
--
View this message in context:
I have a situation where the key for an item in a collection is an editable
value in the collection item. Obviously, when that value changes, I need to
update the collection and change the key. However, when I do this the item
is in a new position in the collection. This is a problem because
Hi guys,
Is there a guideline of some sort for howto create custom controls?
I was thinking I might cut my teeth on a context sensitive combobox that
changes background color depending on the selected value.
But I just don't know where to start. :-((
regards
bruce
--
View this message in
Thanks Kad that does the trick!
Bruce
--
View this message in context:
http://www.nabble.com/Form-exit-code-when--X--clicked-tp25919887p25937554.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
I can get an exit code from a form shown with rtn = fm.ShowDialog() correctly
if the user uses an in-form exit such as a exit button :
PUBLIC SUB btExit_Click()
ME.Close(60)
END
But if the user clicks on the [X] in the titlebar all I get is 0 in rtn.
Is there a way to trap the exit
Is there a way to access the project description field like
Application.title?
(or is it a missing property? :thinking: )
bruce
--
View this message in context:
http://www.nabble.com/Project-description-tp25919813p25919813.html
Sent from the gambas-user mailing list archive at Nabble.com.
17 matches
Mail list logo