This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bootstrap import AX | |
from System.Windows.Forms import * | |
from System.Drawing import * | |
import threading | |
import time | |
# Create the form | |
f = Form() | |
f.Size = Size(500, 200) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To add a dropdown | |
dd_range = sheet.Range[0, 0] | |
shape = sheet.Shapes.AddFormControl(SpreadsheetGear.Shapes.FormControlType.DropDown, | |
sheet.WindowInfo.ColumnToPoints(dd_range.Column), # left | |
sheet.WindowInfo.RowToPoints(dd_range.Row), # top | |
width_in_points, # width | |
height_in_points) # height | |
# all the measurements above are in POINTS rather than row/column. I forget the calculations exactly.. there are | |
# conversions from columns/rows to points as seen above | |
shape.ControlFormat.AddItem("some string") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
<style> | |
.container{ | |
position:relative; | |
left:0; | |
top:0; | |
} | |
textarea{ |
NewerOlder