No more vmode
This commit is contained in:
parent
f2057962ff
commit
7340f72ae2
@ -196,37 +196,37 @@ class Form:
|
||||
elif name == "maxy":
|
||||
return self.__maxy
|
||||
elif name == "vmode":
|
||||
(vmode, active, dblbuffer, frozen, visible, border, other) = forms.get_attr(
|
||||
(active, dblbuffer, frozen, visible, border, other) = forms.get_attr(
|
||||
self.id
|
||||
)
|
||||
return vmode
|
||||
elif name == "active":
|
||||
(vmode, active, dblbuffer, frozen, visible, border, other) = forms.get_attr(
|
||||
(active, dblbuffer, frozen, visible, border, other) = forms.get_attr(
|
||||
self.id
|
||||
)
|
||||
return active
|
||||
elif name == "dblbuffer":
|
||||
(vmode, active, dblbuffer, frozen, visible, border, other) = forms.get_attr(
|
||||
(active, dblbuffer, frozen, visible, border, other) = forms.get_attr(
|
||||
self.id
|
||||
)
|
||||
return dblbuffer
|
||||
elif name == "frozen":
|
||||
(vmode, active, dblbuffer, frozen, visible, border, other) = forms.get_attr(
|
||||
(active, dblbuffer, frozen, visible, border, other) = forms.get_attr(
|
||||
self.id
|
||||
)
|
||||
return frozen
|
||||
elif name == "visible":
|
||||
(vmode, active, dblbuffer, frozen, visible, border, other) = forms.get_attr(
|
||||
(active, dblbuffer, frozen, visible, border, other) = forms.get_attr(
|
||||
self.id
|
||||
)
|
||||
return visible
|
||||
elif name == "border":
|
||||
(vmode, active, dblbuffer, frozen, visible, border, other) = forms.get_attr(
|
||||
(active, dblbuffer, frozen, visible, border, other) = forms.get_attr(
|
||||
self.id
|
||||
)
|
||||
return border
|
||||
elif name == "other":
|
||||
(vmode, active, dblbuffer, frozen, visible, border, other) = forms.get_attr(
|
||||
(active, dblbuffer, frozen, visible, border, other) = forms.get_attr(
|
||||
self.id
|
||||
)
|
||||
return other
|
||||
|
Loading…
Reference in New Issue
Block a user