Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3874

Window Opening When Assign Values

$
0
0

Hello,

Newbie to Xojo here. Please be gentle.

I have two windows: MainWindow and SettingsWindow. In the Opening event of MainWindow, I call a method to assign some values in the SettingsWindow to a dictionary. I’m not asking the SettingsWindow to open, but it’s opening anyways (assuming this is because the method is assigning its values. For example, in the method, some of the assignment statements look like this:

d.value(“NewProjectType”) = SettingsWindow.conSettingsGeneral.rdoNewProjectType.SelectedIndex

I’ve included a SettingsWindow.Close statement to get rid of the window in the method, but wonder why it’s opening in the first place when I’m only trying to get values/states from the controls in it?

Thanks.

10 posts - 6 participants

Read full topic


Viewing all articles
Browse latest Browse all 3874

Trending Articles