- 
                Posts535
- 
                Joined
- 
                Last visited
- 
                Days Won9
Everything posted by thisdp
- 
	https://wiki.multitheftauto.com/wiki/RequestBrowserDomains
- 
	https://wiki.multitheftauto.com/wiki/DGS_General_Basic_Properties Property: outline
- 
	What about its performance?
- 
	Wow! What have I found? A new brilliant UIKit Library with smooth feeling!
- 
	use render target, but it will take some Video Memory. And if there is no video memory free for mta, then, you can't create render target.
- 
	This GUI Widget System is not based on dx
- 
	try to create gui element, and move your cursor, then you will find the same thing.
- 
	You finally spell the right name XD Good Job ! Keep it up !
- 
	  [Rel]اول مكتبة دي اكس عربية مفتوحة المصدر [اصدار]ا[M.M]thisdp replied to Master_MTA's topic in المساهمات Damn, I am thisdp, not thisdb XD
- 
	sry, it's my fault, updatedgs But it seems there is still a problem. I will fix it later Thank you
- 
	so I told you, set "Face To" to nil,nil,nil https://wiki.multitheftauto.com/wiki/DgsCreate3DInterface If you want to face to a point, use pointPosition-3dInterfacePosition
- 
	face to of dgs 3d interface is offset relative to the position of 3d interface such as face to 1,0,0 the absolute position is x+1,y,z
- 
	I just wonder how can you draw a window on 3d interface. set face to nil,nil,nil can give you an always facing to the camera state
- 
	create edits in the same parent gui element
- 
	here is an example local sortfnc = [[ local arg = {...} local a = arg[1] local b = arg[2] local column = dgsElementData[self].sortColumn local texta,textb = a[column][1],b[column][1] local texta,textb = tonumber(texta:sub(2)),tonumber(textb:sub(2)) print(texta,textb) return texta < textb ]] gridlist = dgsCreateGridList(300,50,600,600,false) dgsGridListAddColumn(gridlist,"test1",0.2) for i=1,50 do local row = dgsGridListAddRow(gridlist) dgsGridListSetItemText(gridlist,row,1,"#"..tostring(i)) end dgsGridListSetSortEnabled(gridlist,false) --disable click sorting dgsGridListSetSortFunction(gridlist,sortfnc) dgsGridListSetSortColumn(gridlist,1) I have just released DGS 3.393 You can use dgsScrollBarSetLocked to lock the position dgsScrollBarSetLocked(scrollbar,state)
- 
	function scr(new, old) if source == dgsGridListGetScrollBar(gridlist)[1] then local vertical = dgsGridListGetScrollPosition(gridlist) if vertical ~= old then dgsGridListSetScrollPosition(gridlist,old) end end end addEventHandler("onDgsScrollBarScrollPositionChange",root,scr) https://wiki.multitheftauto.com/wiki/OnDgsMouseClick read the bold text in "state" carefully
- 
	My pleasure Thanks for your support again

 
            
         
					
						 
					
						