{"id":1009,"date":"2023-01-21T14:53:57","date_gmt":"2023-01-21T14:53:57","guid":{"rendered":"https:\/\/byteboxmedia.support\/?p=1009"},"modified":"2023-01-21T14:56:03","modified_gmt":"2023-01-21T14:56:03","slug":"text-box","status":"publish","type":"post","link":"https:\/\/byteboxmedia.support\/docs\/game-launcher-creator-v3\/text-box\/","title":{"rendered":"Text Box"},"content":{"rendered":"

\"\"<\/p>\n

Text boxes allow you to provide user input inside your game launcher.<\/p>\n

They can be useful for collecting or using user data that has been inputted. With the Developer Edition, you can save the data to an INI file or even send the data as part of a Query String<\/a>.<\/p>\n

Fonts<\/h5>\n

You can change the Font of the textbox object<\/a> and font size here plus effects like Bold or Italic.<\/p>\n

Colors<\/h5>\n

You can change the font color here and the background color<\/a> of the textbox<\/a>.<\/p>\n

Content<\/h5>\n

Default Text<\/strong>
\nYou can change the default text which is displayed if nothing else is loaded up or the user deletes everything inside.<\/p>\n

Developer Settings<\/h5>\n

Here you use developer settings for the textbox object. You will need to select Enabled in order to use the INI functions.<\/p>\n

If INI data is used, then the launcher will load up the values at page start<\/a> and if the user modifies the text in this box, it will write the data to the INI file.<\/p>\n

INI Filename<\/strong>
\nSpecify the local filename of the INI file to save\/load this data to\/from.<\/p>\n

INI Group<\/strong>
\nSpecify the INI Group where this item should be located (do not use [ ] brackets, just specify the group name).<\/p>\n

INI Item<\/strong>
\nSpecify the item name here to save\/load the data to\/from.<\/p>\n

<\/span>Example INI Structure<\/div>
INI Group:<\/b> settings
\nINI Item:<\/b> username<\/p>\n

This is how it would look inside your INI file<\/p>\n[settings]\nusername=<\/div><\/div>\n

Custom Variable<\/h5>\n

You should enable this option if you would like to use the text inside this box as part of a custom variable<\/a> inside your launcher application.<\/p>\n

Custom Variable<\/a> Name<\/strong>
\nSpecify the name of the custom variable here. This can be anything. However, you should not<\/strong> use spaces or unorthodox characters and you should definitely not use %.<\/p>\n

To use this variable elsewhere inside your application you can specify it by using %.<\/p>\n

For example, if you create this as a custom variable with the name<\/p>\n

my_variable<\/strong><\/p>\n

then you can use it elsewhere in your launcher as a variable using:<\/p>\n

%my_variable%<\/strong><\/p>\n

%my_variable% would then be replaced with whatever is contained inside the box.<\/p>\n","protected":false},"excerpt":{"rendered":"

Text boxes allow you to provide user input inside your game launcher. They can be useful for collecting or using user data that has been inputted. With the Developer Edition, you can save the data to an INI file or even send the data as part of a Query String. Fonts You can change the […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-1009","post","type-post","status-publish","format-standard","hentry","category-game-launcher-creator-v3"],"_links":{"self":[{"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/posts\/1009"}],"collection":[{"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/comments?post=1009"}],"version-history":[{"count":3,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/posts\/1009\/revisions"}],"predecessor-version":[{"id":1013,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/posts\/1009\/revisions\/1013"}],"wp:attachment":[{"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/media?parent=1009"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/categories?post=1009"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/tags?post=1009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}