No more vmode

This commit is contained in:
Roberto Alsina 2024-06-03 17:59:38 -03:00
parent f2057962ff
commit 7340f72ae2

View File

@ -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