Scrolling window

I think i'm progressing faster in developing n stuff thanks to all the guys who help despite my questions being quite annoying.

Anyway i have one more that id like an answer to if possible. Ive tried to improvise on a way to create scrolling windows in mv but i just can't ive been on it for a while now an nothing seems to be working. Does anyone know how i can? an example if possible would be nice.   
Make a select window, it allows you to scroll content.
Oh, of course why didnt i think about that? the save and load scenes are prime examples of scrolling windows.

ok ive checked and the windows for both of the above mentioned and as i am unifamiliar with  window_selectable i'm unable to create one.

if its possible could you create a basic window script with two commands ? Explaining with comments or however you can, any help would be greatly appreciated though. 
um never mind, i'll try to work around it. i'm thinking of writing a method or methods for scrolling windows (simply put, changing the x and y values as to keep the highlighted command onscreen).
So why doesn't windows selectable work for this?
none of the examples that i have for window_selectable use commands.
Which is why i wanted someone to tell me how to use it to make commands or at least point me in the right direction.
i tried studying window_save / load which is of window_selectable...i think. there is a possibility that i'm looking at it from the wrong angle tho.  🙁
Use this code as an example.

Use script command of SceneManager.push(ougitou1.TEST.Test_Scene) to start the scene.

Also don't double post or mods will go one punch man on you.

Spoiler
Code:
var ougitou1 = ougitou1 || {};(function(){	ougitou1.TEST = {				Test_Window : function(){this.initialize.apply(this, arguments);},				Test_Scene	: function(){this.initialize.apply(this, arguments);},	};})();(function($){	($.prototype = Object.create(Window_Command.prototype)).constructor = $;	$.prototype.initialize = function(x, y) {		var width = this.windowWidth();		var height = this.windowHeight();		Window_Command.prototype.initialize.call(this, x, y, width, height);	};	$.prototype.windowWidth = function(){		return 300;	};	$.prototype.windowHeight = function(){		return 300;	};		$.prototype.makeCommandList = function() {		this.addMainCommands();	};		$.prototype.addMainCommands = function(){		var enabled = true;		this.addCommand('Command 1', 'c1', enabled);		this.addCommand('Command 2', 'c2', enabled);		this.addCommand('Command 3', 'c3', enabled);	};})(ougitou1.TEST.Test_Window);(function($){	($.prototype = Object.create(Scene_MenuBase.prototype)).constructor = $;	$.prototype.initialize = function() {		Scene_MenuBase.prototype.initialize.call(this);	};		$.prototype.create = function() {		Scene_MenuBase.prototype.create.call(this);		this.createWindow();	};		$.prototype.createWindow = function() {		this._testWindow = new ougitou1.TEST.Test_Window(0,0);		this._testWindow.setHandler('c1',     this.doCommand1.bind(this));		this._testWindow.setHandler('c2',     this.doCommand2.bind(this));		this._testWindow.setHandler('c3',     this.doCommand3.bind(this));		this.addWindow(this._testWindow);	};		$.prototype.doCommand1 = function(){		console.log('You selected Command 1.')		this._testWindow.activate();	};		$.prototype.doCommand2 = function(){		console.log('You selected Command 2.')		this._testWindow.activate();	};		$.prototype.doCommand3 = function(){		console.log('You selected Command 3.')		this._testWindow.activate();	};	})(ougitou1.TEST.Test_Scene); 
lol kk thankx
oh....kay um i think maybe i was misunderstood a bit. so ill explain in more detail.

i'm creating a scene in which commands are generated upon request. hence therein lies the problem, the command window tends to get over populated leaving some commands off screen. which is why id like to fix that problem by using a window selectable  as was so kindly suggested. i already know how to moderately modify normal windows. my problem lies in the fact that i dont understand the (format properties variables [stuff required for it to work properly] etc) of window selectable. 

ps. it took me a while but your coding style is sorta unique, so now that i understand, i can say that i definitely learned a few things from it. 👍    😅:
I may be confused still.

This next script allows you to add commands to the window.

And it will scroll.

During the scene use this.addDynamicCommnads("command x","symbolx", true) to add a new command to the window that you can press.

During this.onPressOk it will consolelog the command name that you pressed.

 

Code:
var ougitou1 = ougitou1 || {};(function(){	ougitou1.TEST = {				Test_Window : function(){this.initialize.apply(this, arguments);},				Test_Scene	: function(){this.initialize.apply(this, arguments);},	};})();(function($){	($.prototype = Object.create(Window_Command.prototype)).constructor = $;	$.prototype.initialize = function(x, y) {		var width = this.windowWidth();		var height = this.windowHeight();		this._dynamicList = [];		Window_Command.prototype.initialize.call(this, x, y, width, height);	};	$.prototype.windowWidth = function(){		return 300;	};	$.prototype.windowHeight = function(){		return 300;	};		$.prototype.makeCommandList = function() {		this.addMainCommands();		this.combineCommands();	};		$.prototype.addMainCommands = function(){		var enabled = true;		this.addCommand('Command 1', 'c1', enabled);	};		$.prototype.combineCommands = function(){		this._list = this._list.concat(this._dynamicList);	};		$.prototype.addDynamicCommands = function(name, symbol, enabled, ext) {		if (enabled === undefined) {			enabled = true;		}		if (ext === undefined) {			ext = null;		}		this._dynamicList.push({ name: name, symbol: symbol, enabled: enabled, ext: ext});		this.refresh();	};})(ougitou1.TEST.Test_Window);(function($){	($.prototype = Object.create(Scene_MenuBase.prototype)).constructor = $;	$.prototype.initialize = function() {		Scene_MenuBase.prototype.initialize.call(this);	};		$.prototype.create = function() {		Scene_MenuBase.prototype.create.call(this);		this.createWindow();	};		$.prototype.createWindow = function() {		this._testWindow = new ougitou1.TEST.Test_Window(0,0);		this._testWindow.setHandler('c1',     this.onPressOk.bind(this));		this.addWindow(this._testWindow);	};		$.prototype.addDynamicCommands = function(name, symbol, enabled, ext){		this._testWindow.addDynamicCommands(name, symbol, enabled, ext)		this._testWindow.setHandler(symbol,     this.onPressOk.bind(this));	};		$.prototype.onPressOk = function(){		var index = this._testWindow._index;		console.log("You pressed " + this._testWindow._list[index].name)		this._testWindow.activate();	};	})(ougitou1.TEST.Test_Scene);
Yesss!  it works, not that i doubted you or anything.  Now for your assistance past, present and future, i dub you

sensei.  

Original thread: https://forums.rpgmakerweb.com/threads/scrolling-window.53281/