The following code example demonstrate the use of texts class.
#include <xtd/xtd>
class form1 : public form {
public:
form1() {
text("Texts example");
client_size({200, 400});
*this << list_box_texts;
list_box_texts.items().push_back_range({
system_texts::abort(),
system_texts::about(),
system_texts::actual_size(),
system_texts::add(),
system_texts::align_left(),
system_texts::align_right(),
system_texts::alignment(),
system_texts::apply(),
system_texts::ascending(),
system_texts::back(),
system_texts::bold(),
system_texts::bottom(),
system_texts::cancel(),
system_texts::cdrom(),
system_texts::centered(),
system_texts::clear(),
system_texts::close(),
system_texts::color(),
system_texts::contents(),
system_texts::convert(),
system_texts::copy(),
system_texts::customize(),
system_texts::cut(),
system_texts::del(),
system_texts::descending(),
system_texts::down(),
system_texts::edit(),
system_texts::execute(),
system_texts::file(),
system_texts::find(),
system_texts::first(),
system_texts::floppy(),
system_texts::font(),
system_texts::forward(),
system_texts::harddisk(),
system_texts::help(),
system_texts::home(),
system_texts::ignore(),
system_texts::indent(),
system_texts::index(),
system_texts::info(),
system_texts::italic(),
system_texts::jump_to(),
system_texts::justified(),
system_texts::last(),
system_texts::network(),
system_texts::new_(),
system_texts::no(),
system_texts::ok(),
system_texts::open(),
system_texts::options(),
system_texts::paste(),
system_texts::preferences(),
system_texts::print(),
system_texts::print_preview(),
system_texts::properties(),
system_texts::quit(),
system_texts::redo(),
system_texts::refresh(),
system_texts::remove(),
system_texts::replace(),
system_texts::retry(),
system_texts::revert_to_saved(),
system_texts::save(),
system_texts::save_as(),
system_texts::search(),
system_texts::select_all(),
system_texts::spell_check(),
system_texts::stop(),
system_texts::strikeout(),
system_texts::tools(),
system_texts::top(),
system_texts::undelete(),
system_texts::underline(),
system_texts::undo(),
system_texts::unindent(),
system_texts::up(),
system_texts::view(),
system_texts::yes(),
system_texts::zoom_in(),
system_texts::zoom_out(),
system_texts::zoom_to_fit()});
}
private:
list_box list_box_texts;
};
int main() {
}
static xtd::ustring align_right()
Gets a system-defined text that has a string value of "Align Right". This field is constant.
static xtd::ustring actual_size()
Gets a system-defined text that has a string value of "&Actual Size". This field is constant.
static xtd::ustring network()
Gets a system-defined text that has a string value of "&Network". This field is constant.
static xtd::ustring last()
Gets a system-defined text that has a string value of "&Last". This field is constant.
static xtd::ustring file()
Gets a system-defined text that has a string value of "&File". This field is constant.
static xtd::ustring yes()
Gets a system-defined text that has a string value of "&Yes". This field is constant.
static xtd::ustring unindent()
Gets a system-defined text that has a string value of "Unindent". This field is constant.
static xtd::ustring options()
Gets a system-defined text that has a string value of "&Options". This field is constant.
static xtd::ustring home()
Gets a system-defined text that has a string value of "&Home". This field is constant.
static xtd::ustring print_preview()
Gets a system-defined text that has a string value of "Print Re&view". This field is constant.
static xtd::ustring customize()
Gets a system-defined text that has a string value of "&Customize". This field is constant.
static xtd::ustring bottom()
Gets a system-defined text that has a string value of "&Bottom". This field is constant.
static xtd::ustring ascending()
Gets a system-defined text that has a string value of "&Ascending". This field is constant.
static xtd::ustring search()
Gets a system-defined text that has a string value of "&Search". This field is constant.
static xtd::ustring undo()
Gets a system-defined text that has a string value of "&Undo". This field is constant.
static xtd::ustring zoom_to_fit()
Gets a system-defined text that has a string value of "Zoom to &Fit". This field is constant.
static xtd::ustring harddisk()
Gets a system-defined text that has a string value of "&Harddisk". This field is constant.
static xtd::ustring help()
Gets a system-defined text that has a string value of "&Help". This field is constant.
static xtd::ustring select_all()
Gets a system-defined text that has a string value of "Select &All". This field is constant.
static xtd::ustring clear()
Gets a system-defined text that has a string value of "&Clear". This field is constant.
static xtd::ustring index()
Gets a system-defined text that has a string value of "&Index". This field is constant.
static xtd::ustring no()
Gets a system-defined text that has a string value of "&No". This field is constant.
static xtd::ustring zoom_in()
Gets a system-defined text that has a string value of "Zoom &In". This field is constant.
static xtd::ustring first()
Gets a system-defined text that has a string value of "&First". This field is constant.
static xtd::ustring alignment()
Gets a system-defined text that has a string value of "Alignment". This field is constant.
static xtd::ustring refresh()
Gets a system-defined text that has a string value of "Refresh". This field is constant.
static xtd::ustring add()
Gets a system-defined text that has a string value of "Add". This field is constant.
static xtd::ustring save()
Gets a system-defined text that has a string value of "&Save". This field is constant.
static xtd::ustring down()
Gets a system-defined text that has a string value of "&Down". This field is constant.
static xtd::ustring new_()
Gets a system-defined text that has a string value of "&New". This field is constant.
static xtd::ustring jump_to()
Gets a system-defined text that has a string value of "&Jump to". This field is constant.
static xtd::ustring forward()
Gets a system-defined text that has a string value of "&Forward". This field is constant.
static xtd::ustring apply()
Gets a system-defined text that has a string value of "&Apply". This field is constant.
static xtd::ustring back()
Gets a system-defined text that has a string value of "&Back". This field is constant.
static xtd::ustring paste()
Gets a system-defined text that has a string value of "&Paste". This field is constant.
static xtd::ustring justified()
Gets a system-defined text that has a string value of "Justified". This field is constant.
static xtd::ustring save_as()
Gets a system-defined text that has a string value of "Save &As...". This field is constant.
static xtd::ustring execute()
Gets a system-defined text that has a string value of "&Execute". This field is constant.
static xtd::ustring cdrom()
Gets a system-defined text that has a string value of "&CD-Rom". This field is constant.
static xtd::ustring quit()
Gets a system-defined text that has a string value of "&Quit". This field is constant.
static xtd::ustring print()
Gets a system-defined text that has a string value of "&Print...". This field is constant.
static xtd::ustring revert_to_saved()
Gets a system-defined text that has a string value of "Revert to Saved". This field is constant.
static xtd::ustring bold()
Gets a system-defined text that has a string value of "&Bold". This field is constant.
static xtd::ustring convert()
Gets a system-defined text that has a string value of "&Convert". This field is constant.
static xtd::ustring retry()
Gets a system-defined text that has a string value of "&Retry". This field is constant.
static xtd::ustring view()
Gets a system-defined text that has a string value of "&View". This field is constant.
static xtd::ustring contents()
Gets a system-defined text that has a string value of "&Contents". This field is constant.
static xtd::ustring stop()
Gets a system-defined text that has a string value of "&Stop". This field is constant.
static xtd::ustring copy()
Gets a system-defined text that has a string value of "&Copy". This field is constant.
static xtd::ustring italic()
Gets a system-defined text that has a string value of "&Italic". This field is constant.
static xtd::ustring edit()
Gets a system-defined text that has a string value of "&Edit". This field is constant.
static xtd::ustring undelete()
Gets a system-defined text that has a string value of "Undelete". This field is constant.
static xtd::ustring redo()
Gets a system-defined text that has a string value of "&Redo". This field is constant.
static xtd::ustring indent()
Gets a system-defined text that has a string value of "Indent". This field is constant.
static xtd::ustring preferences()
Gets a system-defined text that has a string value of "&Preference". This field is constant.
static xtd::ustring tools()
Gets a system-defined text that has a string value of "&Tools". This field is constant.
static xtd::ustring open()
Gets a system-defined text that has a string value of "&Open...". This field is constant.
static xtd::ustring ignore()
Gets a system-defined text that has a string value of "&Ignore". This field is constant.
static xtd::ustring zoom_out()
Gets a system-defined text that has a string value of "Zoom &Out". This field is constant.
static xtd::ustring find()
Gets a system-defined text that has a string value of "&Find...". This field is constant.
static xtd::ustring replace()
Gets a system-defined text that has a string value of "Rep&lace". This field is constant.
static xtd::ustring info()
Gets a system-defined text that has a string value of "&Info". This field is constant.
static xtd::ustring color()
Gets a system-defined text that has a string value of "&Color". This field is constant.
static xtd::ustring cancel()
Gets a system-defined text that has a string value of "&Cancel". This field is constant.
static xtd::ustring centered()
Gets a system-defined text that has a string value of "Centered". This field is constant.
static xtd::ustring del()
Gets a system-defined text that has a string value of "&Delete". This field is constant.
static xtd::ustring ok()
Gets a system-defined text that has a string value of "&OK". This field is constant.
static xtd::ustring properties()
Gets a system-defined text that has a string value of "&Properties". This field is constant.
static xtd::ustring underline()
Gets a system-defined text that has a string value of "&Underline". This field is constant.
static xtd::ustring descending()
Gets a system-defined text that has a string value of "&Descending". This field is constant.
static xtd::ustring about()
Gets a system-defined text that has a string value of "&About". This field is constant.
static xtd::ustring cut()
Gets a system-defined text that has a string value of "Cu&t". This field is constant.
static xtd::ustring abort()
Gets a system-defined text that has a string value of "&Abort". This field is constant.
static xtd::ustring strikeout()
Gets a system-defined text that has a string value of "&Strikeout". This field is constant.
static xtd::ustring up()
Gets a system-defined text that has a string value of "&Up". This field is constant.
static xtd::ustring floppy()
Gets a system-defined text that has a string value of "&Floppy". This field is constant.
static xtd::ustring top()
Gets a system-defined text that has a string value of "&Top". This field is constant.
static xtd::ustring font()
Gets a system-defined text that has a string value of "&Font". This field is constant.
static xtd::ustring spell_check()
Gets a system-defined text that has a string value of "&Spell Check". This field is constant.
static xtd::ustring align_left()
Gets a system-defined text that has a string value of "Align Left". This field is constant.
static xtd::ustring remove()
Gets a system-defined text that has a string value of "Remove". This field is constant.
static xtd::ustring close()
Gets a system-defined text that has a string value of "&Close". This field is constant.