Forum > Coding >

How do i make script buttons?

Posts: 1

Threads: 1

Joined: Dec, 2019

Reputation: 0

Posted

Like how do I make an open Lua file button and save file button?

 

btw I'm really stupid

  • 0

mncx86

MoonCon

Posts: 7

Threads: 1

Joined: Nov, 2019

Reputation: 0

Replied

This question shouldn't be under cpp forum tho.

 

In visual studio, there is "Toolbar" at left side of your screen. Drag buttons from there over your form. And add a OpenFormDialog inside the button code. Then, read the selected file using a StreamReader to assign the value of textbox

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )