paulwesterman
New Member
Is there a way to assign a variable the screen-value the user inputs without explicitly making the assignment to the underlying variable. In other words, I have a screen with several fill-in fields and I wonder if there some type of code similiar to:
on leave anywhere do:
if self:type = 'fill-in'
then assign self:value = self:screen-value
end.
to assign the underlying variable v-value, v-other-value, etc, etc, etc the value of the user input
instead of writing
on leave of v-value do:
assign v-value = self:screen-value.
end.
on leave of v-other-value do:
assign v-other-value = input v-other-value.
end.
etc, etc, etc.
I realize that 'value' is an attribute of the clipboard system handle but I don't know what the right code would be.
I am using Progress Version 9.1D07 - character.
on leave anywhere do:
if self:type = 'fill-in'
then assign self:value = self:screen-value
end.
to assign the underlying variable v-value, v-other-value, etc, etc, etc the value of the user input
instead of writing
on leave of v-value do:
assign v-value = self:screen-value.
end.
on leave of v-other-value do:
assign v-other-value = input v-other-value.
end.
etc, etc, etc.
I realize that 'value' is an attribute of the clipboard system handle but I don't know what the right code would be.
I am using Progress Version 9.1D07 - character.