vMix Forums
»
General
»
General Discussion
»
Consecutive text boxes lenght
Rank: Member
Groups: Registered
Joined: 4/19/2023(UTC) Posts: 14 Location: Cortina
|
Hello, I tried to find out the topic in the forum because I'm sure somebody already asked for that but I'm not able to make a good search about that. Please let me know if I can find this topic somewhere or...
In case nobody asked before, in a JSON data source I have in one column the First Name of a person and in the second column his Family Name. Since, of course, names can have different lenghts, is there any way to put the two test boxes one after the other and avoid having a fixed space in between?
Just to make a stupid example if in row 1 I have "Joe" as first name and "Springfield" as family name and in row 2 i have "Alexander" as first name and "Mayweather" as family name, is there any solution to have as a result "Joe Springfield" and "Alexander Mayweather" and not "Joe-space-space-space-space-space-space....Springfield"?
Thanks
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,248 Location: Belgium Thanks: 294 times Was thanked: 961 time(s) in 795 post(s)
|
Originally Posted by: barkley Hello, I tried to find out the topic in the forum because I'm sure somebody already asked for that but I'm not able to make a good search about that. Please let me know if I can find this topic somewhere or...
In case nobody asked before, in a JSON data source I have in one column the First Name of a person and in the second column his Family Name. Since, of course, names can have different lenghts, is there any way to put the two test boxes one after the other and avoid having a fixed space in between?
Just to make a stupid example if in row 1 I have "Joe" as first name and "Springfield" as family name and in row 2 i have "Alexander" as first name and "Mayweather" as family name, is there any solution to have as a result "Joe Springfield" and "Alexander Mayweather" and not "Joe-space-space-space-space-space-space....Springfield"?
Thanks Has been asked at some point somewhere before ;-) You can not directly but a script can do it: have 2 invisible textboxes linked to the firstname and familyname , have the script read the content of both and combine them as one ( sprinkled with a bit of vb.net code to format things correclty) and send it to your visible textbox this post should get you going https://forums.vmix.com/...86-Scripting-for-Dummies
|
|
|
|
Rank: Member
Groups: Registered
Joined: 4/19/2023(UTC) Posts: 14 Location: Cortina
|
Originally Posted by: doggy Originally Posted by: barkley Hello, I tried to find out the topic in the forum because I'm sure somebody already asked for that but I'm not able to make a good search about that. Please let me know if I can find this topic somewhere or...
In case nobody asked before, in a JSON data source I have in one column the First Name of a person and in the second column his Family Name. Since, of course, names can have different lenghts, is there any way to put the two test boxes one after the other and avoid having a fixed space in between?
Just to make a stupid example if in row 1 I have "Joe" as first name and "Springfield" as family name and in row 2 i have "Alexander" as first name and "Mayweather" as family name, is there any solution to have as a result "Joe Springfield" and "Alexander Mayweather" and not "Joe-space-space-space-space-space-space....Springfield"?
Thanks Has been asked at some point somewhere before ;-) You can not directly but a script can do it: have 2 invisible textboxes linked to the firstname and familyname , have the script read the content of both and combine them as one ( sprinkled with a bit of vb.net code to format things correclty) and send it to your visible textbox this post should get you going https://forums.vmix.com/...86-Scripting-for-Dummies yep I was pretty sure it was a matter of scripts.. thanks Doggy
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Consecutive text boxes lenght
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close